home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / HIWindows.xh < prev    next >
Text File  |  1996-05-01  |  66KB  |  2,175 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: HIWindows.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emitxh.dll: 2.33
  8.  */
  9.  
  10. /*
  11.  * 
  12.  *      Copyright:    © 1994,1995 by Apple Computer, Inc.
  13.  *                  All rights reserved.
  14.  * 
  15.  *    10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  16.  *    All Rights Reserved
  17.  *    Licensed Materials - Property of IBM
  18.  *    US Government Users Restricted Rights - Use, duplication or
  19.  *    disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  20.  * 
  21.  *  SOMClass: System Object Model base metaclass
  22.  */
  23.  
  24.  
  25. #ifndef SOM_HIWindow_xh
  26. #define SOM_HIWindow_xh
  27.  
  28. class HIWindow;
  29.  
  30. #define HIWindow_MajorVersion 0
  31. #define HIWindow_MinorVersion 0
  32.  
  33. /*
  34.  * Passthru lines: File: "C.xh", "before"
  35.  */
  36. #include <Types.h>
  37. #include <Windows.h>
  38. #include <HIWindowTypes.h>
  39. #include <HIEmbeddingPanels.xh>
  40.  
  41. /* C++ SOM defs */
  42. #include <somcls.xh>
  43. #include <somcm.xh>
  44.  
  45. /* C++ parent defs */
  46. #ifndef SOM_HIObject_xh
  47. #include <HIObjects.xh>
  48. #endif
  49.  
  50. #ifndef HIWindow_API
  51. #define HIWindow_API
  52. /*
  53.  * -- The Class API
  54.  */
  55.  
  56. /*
  57.  * Start of user-defined types:
  58.  */
  59. class SOMClass;
  60. class SOMObject;
  61. class HIWindow;
  62. class HIEmbeddingPanel;
  63.  
  64. /*
  65.  * End of user-defined types.
  66.  */
  67.  
  68. #ifdef OLDIBMSOMAPISUPPORT
  69. #define HIWindowCClassData HIWindowClassData
  70. #define HIWindowNewClass(major,minor) somNewVersionedClassReference(HIWindow,major,minor)
  71. #endif
  72.  
  73. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  74. #define HIWindowMetaClass SOMClass
  75.  
  76. #if PRAGMA_ALIGN_SUPPORTED
  77. #  pragma options align=power
  78. #endif
  79.  
  80. /* The API to the HIWindow class object, and the methods it introduces. */
  81. SOMEXTERN struct HIWindowClassDataStructure {
  82. #ifdef OLDIBMSOMAPISUPPORT
  83.     SOMClass            *classObject;    /* always zero, use somNewClassReference instead */
  84. #else
  85.     long zero;
  86. #endif
  87.     somStaticClassInfo *sci;
  88.     somDToken        instanceDataToken;
  89.     long reserved [3];
  90.     somMToken InitWindow;
  91.     somMToken InitWindowInLayer;
  92.     somMToken Select;
  93.     somMToken SelectWithGroup;
  94.     somMToken Hilite;
  95.     somMToken Unhilite;
  96.     somMToken BringToFront;
  97.     somMToken SendBehind;
  98.     somMToken ShowWithoutActivate;
  99.     somMToken HideWithoutActivate;
  100.     somMToken Zoom;
  101.     somMToken ZoomOut;
  102.     somMToken Collapse;
  103.     somMToken Expand;
  104.     somMToken SetAttachedWindowGroup;
  105.     somMToken GetAttachedWindowGroup;
  106.     somMToken AddToGroup;
  107.     somMToken RemoveFromGroup;
  108.     somMToken InvalidateRect;
  109.     somMToken InvalidateRgn;
  110.     somMToken ValidateRect;
  111.     somMToken ValidateRgn;
  112.     somMToken SetPort;
  113.     somMToken BeginUpdate;
  114.     somMToken EndUpdate;
  115.     somMToken DrawGrowIcon;
  116.     somMToken PositionOnScreen;
  117.     somMToken AutoPosition;
  118.     somMToken IsPositionedOnScreen;
  119.     somMToken SetAttributes;
  120.     somMToken GetAttributes;
  121.     somMToken SetClass;
  122.     somMToken GetClass;
  123.     somMToken SetVariant;
  124.     somMToken GetVariant;
  125.     somMToken GetStructureRgn;
  126.     somMToken GetContentRgn;
  127.     somMToken GetUpdateRgn;
  128.     somMToken SetStandardState;
  129.     somMToken GetStandardState;
  130.     somMToken SetUserState;
  131.     somMToken GetUserState;
  132.     somMToken GetRootPanel;
  133.     somMToken SetRootPanel;
  134.     somMToken GetEventDispatcher;
  135.     somMToken IsHilited;
  136.     somMToken IsActive;
  137.     somMToken IsCollapsed;
  138.     somMToken HandleMouseDown;
  139.     somMToken HandleMouseMoved;
  140.     somMToken HandleMouseStoppedMoving;
  141.     somMToken HandleMouseUp;
  142.     somMToken HandleMouseDownInBack;
  143.     somMToken HandleResize;
  144.     somMToken HandleClose;
  145.     somMToken TrackPart;
  146.     somMToken DrawFrame;
  147.     somMToken DrawOutline;
  148.     somMToken DrawSizeBox;
  149.     somMToken HilitePart;
  150.     somMToken HitTest;
  151.     somMToken GetPartRgn;
  152.     somMToken GetUnusedGadgetRects;
  153.     somMToken GetGrowDirection;
  154.     somMethodProc *GetPrimaryLayer;
  155.     somMethodProc *NewWindowGroup;
  156.     somMethodProc *DisposeWindowGroup;
  157.     somMethodProc *AddWindowGroupToWindowGroup;
  158.     somMethodProc *RemoveWindowGroupFromWindowGroup;
  159.     somMethodProc *GetApplicationWindowGroup;
  160.     somMethodProc *GetWindowClassWindowGroup;
  161.     somMethodProc *GetWindowsInWindowGroup;
  162.     somMethodProc *GetWindowsInWindowGroupAndLayer;
  163.     somMethodProc *GetWindowGroupsInWindowGroup;
  164.     somMethodProc *FrontWindowOfWindowGroup;
  165.     somMethodProc *FrontNonFloatingWindow;
  166.     somMethodProc *ShowFloatingWindows;
  167.     somMethodProc *HideFloatingWindows;
  168.     somMethodProc *AreFloatersVisible;
  169.     somMethodProc *ActivateFloatingWindows;
  170.     somMethodProc *DeactivateFloatingWindows;
  171.     somMethodProc *EnableAutomaticPaletteActivation;
  172.     somMethodProc *DisableAutomaticPaletteActivation;
  173.     somMethodProc *IsAutomaticPaletteActivationEnabled;
  174.     somMethodProc *GetHIWindow;
  175.     somMToken reserved0;
  176.     somMToken reserved1;
  177.     somMToken reserved2;
  178.     somMToken reserved3;
  179.     somMToken reserved4;
  180.     somMToken reserved5;
  181.     somMToken reserved6;
  182.     somMToken reserved7;
  183.     somMToken reserved8;
  184.     somMToken reserved9;
  185.     somMToken reserved10;
  186.     somMToken reserved11;
  187.     somMToken reserved12;
  188.     somMToken reserved13;
  189.     somMToken reserved14;
  190.     somMToken reserved15;
  191.     somMToken reserved16;
  192.     somMToken reserved17;
  193.     somMToken reserved18;
  194.     somMToken reserved19;
  195.     somMToken reserved20;
  196.     somMToken reserved21;
  197.     somMToken reserved22;
  198.     somMToken HandleUpdate;
  199.     somMToken SetDefaultGrowLimits;
  200.     somMToken GetDefaultGrowLimits;
  201.     somMToken SetDefaultOptimalSize;
  202.     somMToken GetDefaultOptimalSize;
  203.     somMToken AdjustDragLimits;
  204.     somMToken AdjustGrowLimits;
  205. } SOMDLINK HIWindowClassData;
  206.  
  207. #if PRAGMA_ALIGN_SUPPORTED
  208. #  pragma options align=reset
  209. #endif
  210.  
  211. #if !defined(HIWindow_Class_Source) && !defined(SOM_Module_hiwindows_Source)
  212. #if PRAGMA_IMPORT_SUPPORTED
  213. #pragma import list HIWindowClassData
  214. #endif
  215. #endif
  216.  
  217.  
  218. /*
  219.  * -- Typedefs for HIWindow Method Procedures
  220.  */
  221. SOMEXTERN {
  222. typedef OSStatus   (* SOMLINK somTD_HIWindow_InitWindow)(HIWindow *somSelf, Environment *ev,
  223.         RefLabel* identifier,
  224.         Rect* globalBounds,
  225.         HIWindowClass windowClass,
  226.         HIWindowVariant windowVariant,
  227.         HIWindowAttributes windowAttributes,
  228.         HIRootPanel* rootPanel,
  229.         HIWindow* behindThisWindow);
  230. typedef OSStatus   (* SOMLINK somTD_HIWindow_InitWindowInLayer)(HIWindow *somSelf, Environment *ev,
  231.         RefLabel* identifier,
  232.         Rect* globalBounds,
  233.         HIWindowClass windowClass,
  234.         HIWindowVariant windowVariant,
  235.         HIWindowAttributes windowAttributes,
  236.         HIRootPanel* rootPanel,
  237.         HIWindow* behindThisWindow,
  238.         HILayerRef containingLayer);
  239. typedef OSStatus   (* SOMLINK somTD_HIWindow_Select)(HIWindow *somSelf, Environment *ev);
  240. typedef OSStatus   (* SOMLINK somTD_HIWindow_SelectWithGroup)(HIWindow *somSelf, Environment *ev,
  241.         HIWindowGroupRef groupRef);
  242. typedef OSStatus   (* SOMLINK somTD_HIWindow_Hilite)(HIWindow *somSelf, Environment *ev);
  243. typedef OSStatus   (* SOMLINK somTD_HIWindow_Unhilite)(HIWindow *somSelf, Environment *ev);
  244. typedef boolean   (* SOMLINK somTD_HIWindow_IsHilited)(HIWindow *somSelf, Environment *ev);
  245. typedef boolean   (* SOMLINK somTD_HIWindow_IsActive)(HIWindow *somSelf, Environment *ev);
  246. typedef OSStatus   (* SOMLINK somTD_HIWindow_BringToFront)(HIWindow *somSelf, Environment *ev);
  247. typedef OSStatus   (* SOMLINK somTD_HIWindow_SendBehind)(HIWindow *somSelf, Environment *ev,
  248.         HIWindow* behindThisWindow);
  249. typedef OSStatus   (* SOMLINK somTD_HIWindow_ShowWithoutActivate)(HIWindow *somSelf, Environment *ev);
  250. typedef OSStatus   (* SOMLINK somTD_HIWindow_HideWithoutActivate)(HIWindow *somSelf, Environment *ev);
  251. typedef OSStatus   (* SOMLINK somTD_HIWindow_Zoom)(HIWindow *somSelf, Environment *ev,
  252.         HIWindowPartCode whichPart,
  253.         boolean front);
  254. typedef OSStatus   (* SOMLINK somTD_HIWindow_ZoomOut)(HIWindow *somSelf, Environment *ev,
  255.         Point* idealSize);
  256. typedef OSStatus   (* SOMLINK somTD_HIWindow_Collapse)(HIWindow *somSelf, Environment *ev);
  257. typedef OSStatus   (* SOMLINK somTD_HIWindow_Expand)(HIWindow *somSelf, Environment *ev);
  258. typedef boolean   (* SOMLINK somTD_HIWindow_IsCollapsed)(HIWindow *somSelf, Environment *ev);
  259. typedef OSStatus   (* SOMLINK somTD_HIWindow_SetAttachedWindowGroup)(HIWindow *somSelf, Environment *ev,
  260.         HIWindowGroupRef groupRef);
  261. typedef HIWindowGroupRef   (* SOMLINK somTD_HIWindow_GetAttachedWindowGroup)(HIWindow *somSelf, Environment *ev);
  262. typedef OSStatus   (* SOMLINK somTD_HIWindow_AddToGroup)(HIWindow *somSelf, Environment *ev,
  263.         HIWindowGroupRef groupRef);
  264. typedef OSStatus   (* SOMLINK somTD_HIWindow_RemoveFromGroup)(HIWindow *somSelf, Environment *ev,
  265.         HIWindowGroupRef groupRef);
  266. typedef OSStatus   (* SOMLINK somTD_HIWindow_InvalidateRect)(HIWindow *somSelf, Environment *ev,
  267.         Rect* badRect);
  268. typedef OSStatus   (* SOMLINK somTD_HIWindow_InvalidateRgn)(HIWindow *somSelf, Environment *ev,
  269.         RgnHandle badRgn);
  270. typedef OSStatus   (* SOMLINK somTD_HIWindow_ValidateRect)(HIWindow *somSelf, Environment *ev,
  271.         Rect* goodRect);
  272. typedef OSStatus   (* SOMLINK somTD_HIWindow_ValidateRgn)(HIWindow *somSelf, Environment *ev,
  273.         RgnHandle goodRgn);
  274. typedef OSStatus   (* SOMLINK somTD_HIWindow_SetPort)(HIWindow *somSelf, Environment *ev);
  275. typedef OSStatus   (* SOMLINK somTD_HIWindow_BeginUpdate)(HIWindow *somSelf, Environment *ev);
  276. typedef OSStatus   (* SOMLINK somTD_HIWindow_EndUpdate)(HIWindow *somSelf, Environment *ev);
  277. typedef OSStatus   (* SOMLINK somTD_HIWindow_DrawGrowIcon)(HIWindow *somSelf, Environment *ev);
  278. typedef OSStatus   (* SOMLINK somTD_HIWindow_PositionOnScreen)(HIWindow *somSelf, Environment *ev,
  279.         Rect* globalReferenceRect,
  280.         boolean findScreen,
  281.         HIWindowHorizontalConstraint horizontalConstraint,
  282.         HIWindowVerticalConstraint verticalConstraint);
  283. typedef OSStatus   (* SOMLINK somTD_HIWindow_AutoPosition)(HIWindow *somSelf, Environment *ev,
  284.         HIWindowLocationConstraint locationConstraint,
  285.         HIWindowHorizontalConstraint horizontalConstraint,
  286.         HIWindowVerticalConstraint verticalConstraint);
  287. typedef boolean   (* SOMLINK somTD_HIWindow_IsPositionedOnScreen)(HIWindow *somSelf, Environment *ev,
  288.         HIWindowPartCode whichPart,
  289.         boolean entirelyOnScreen);
  290. typedef OSStatus   (* SOMLINK somTD_HIWindow_SetAttributes)(HIWindow *somSelf, Environment *ev,
  291.         HIWindowAttributes newAttributes,
  292.         boolean redraw);
  293. typedef HIWindowAttributes   (* SOMLINK somTD_HIWindow_GetAttributes)(HIWindow *somSelf, Environment *ev);
  294. typedef OSStatus   (* SOMLINK somTD_HIWindow_SetClass)(HIWindow *somSelf, Environment *ev,
  295.         HIWindowClass newClass);
  296. typedef HIWindowClass   (* SOMLINK somTD_HIWindow_GetClass)(HIWindow *somSelf, Environment *ev);
  297. typedef OSStatus   (* SOMLINK somTD_HIWindow_SetVariant)(HIWindow *somSelf, Environment *ev,
  298.         HIWindowVariant newVariant);
  299. typedef HIWindowVariant   (* SOMLINK somTD_HIWindow_GetVariant)(HIWindow *somSelf, Environment *ev);
  300. typedef OSStatus   (* SOMLINK somTD_HIWindow_GetStructureRgn)(HIWindow *somSelf, Environment *ev,
  301.         RgnHandle structureCopy);
  302. typedef OSStatus   (* SOMLINK somTD_HIWindow_GetContentRgn)(HIWindow *somSelf, Environment *ev,
  303.         RgnHandle contentCopy);
  304. typedef OSStatus   (* SOMLINK somTD_HIWindow_GetUpdateRgn)(HIWindow *somSelf, Environment *ev,
  305.         RgnHandle updateCopy);
  306. typedef OSStatus   (* SOMLINK somTD_HIWindow_SetStandardState)(HIWindow *somSelf, Environment *ev,
  307.         Rect* globalStandardState);
  308. typedef Rect*   (* SOMLINK somTD_HIWindow_GetStandardState)(HIWindow *somSelf, Environment *ev,
  309.         Rect* globalStandardState);
  310. typedef OSStatus   (* SOMLINK somTD_HIWindow_SetUserState)(HIWindow *somSelf, Environment *ev,
  311.         Rect* globalUserState);
  312. typedef Rect*   (* SOMLINK somTD_HIWindow_GetUserState)(HIWindow *somSelf, Environment *ev,
  313.         Rect* globalUserState);
  314. typedef OSStatus   (* SOMLINK somTD_HIWindow_SetDefaultGrowLimits)(HIWindow *somSelf, Environment *ev,
  315.         Point* minimumSize,
  316.         Point* maximumSize);
  317. typedef OSStatus   (* SOMLINK somTD_HIWindow_GetDefaultGrowLimits)(HIWindow *somSelf, Environment *ev,
  318.         Point* minimumSize,
  319.         Point* maximumSize);
  320. typedef OSStatus   (* SOMLINK somTD_HIWindow_SetDefaultOptimalSize)(HIWindow *somSelf, Environment *ev,
  321.         Point* defaultSize);
  322. typedef OSStatus   (* SOMLINK somTD_HIWindow_GetDefaultOptimalSize)(HIWindow *somSelf, Environment *ev,
  323.         Point* defaultSize);
  324. typedef HIRootPanel*   (* SOMLINK somTD_HIWindow_GetRootPanel)(HIWindow *somSelf, Environment *ev);
  325. typedef OSStatus   (* SOMLINK somTD_HIWindow_SetRootPanel)(HIWindow *somSelf, Environment *ev,
  326.         HIRootPanel* thePanel);
  327. typedef AEDispatcherRef   (* SOMLINK somTD_HIWindow_GetEventDispatcher)(HIWindow *somSelf, Environment *ev);
  328. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleMouseDown)(HIWindow *somSelf, Environment *ev,
  329.         Point* globalPt,
  330.         EventModifiers modifiers,
  331.         AppleEvent* theEvent,
  332.         AppleEvent* reply,
  333.         AEHandlerTableRef handlerTableRef);
  334. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleMouseMoved)(HIWindow *somSelf, Environment *ev,
  335.         Point* globalPt,
  336.         EventModifiers modifiers,
  337.         AppleEvent* theEvent,
  338.         AppleEvent* reply,
  339.         AEHandlerTableRef handlerTableRef);
  340. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleMouseStoppedMoving)(HIWindow *somSelf, Environment *ev,
  341.         Point* globalPt,
  342.         EventModifiers modifiers,
  343.         AppleEvent* theEvent,
  344.         AppleEvent* reply,
  345.         AEHandlerTableRef handlerTableRef);
  346. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleMouseUp)(HIWindow *somSelf, Environment *ev,
  347.         Point* globalPt,
  348.         EventModifiers modifiers,
  349.         AppleEvent* theEvent,
  350.         AppleEvent* reply,
  351.         AEHandlerTableRef handlerTableRef);
  352. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleMouseDownInBack)(HIWindow *somSelf, Environment *ev,
  353.         Point* portLocalWhere,
  354.         EventModifiers modifiers,
  355.         AppleEvent* theEvent,
  356.         AppleEvent* reply,
  357.         AEHandlerTableRef handlerTableRef);
  358. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleUpdate)(HIWindow *somSelf, Environment *ev,
  359.         AppleEvent* theEvent,
  360.         AppleEvent* reply,
  361.         AEHandlerTableRef handlerTableRef);
  362. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleResize)(HIWindow *somSelf, Environment *ev,
  363.         Rect* originalBounds,
  364.         Rect* newBounds,
  365.         AppleEvent* theEvent,
  366.         AppleEvent* reply,
  367.         AEHandlerTableRef handlerTableRef);
  368. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleClose)(HIWindow *somSelf, Environment *ev,
  369.         boolean closeAll,
  370.         AppleEvent* theEvent,
  371.         AppleEvent* reply,
  372.         AEHandlerTableRef handlerTableRef);
  373. typedef void   (* SOMLINK somTD_HIWindow_AdjustDragLimits)(HIWindow *somSelf, Environment *ev,
  374.         Rect* dragLimits);
  375. typedef void   (* SOMLINK somTD_HIWindow_AdjustGrowLimits)(HIWindow *somSelf, Environment *ev,
  376.         Point* minimumSize,
  377.         Point* maximumSize);
  378. typedef OSStatus   (* SOMLINK somTD_HIWindow_TrackPart)(HIWindow *somSelf, Environment *ev,
  379.         Point* globalPt,
  380.         EventModifiers modifiers,
  381.         HIWindowPartCode whichPart);
  382. typedef void   (* SOMLINK somTD_HIWindow_DrawFrame)(HIWindow *somSelf, Environment *ev,
  383.         CGrafPtr drawPort);
  384. typedef void   (* SOMLINK somTD_HIWindow_DrawOutline)(HIWindow *somSelf, Environment *ev,
  385.         Rect* globalOutlineRect,
  386.         CGrafPtr drawPort);
  387. typedef void   (* SOMLINK somTD_HIWindow_DrawSizeBox)(HIWindow *somSelf, Environment *ev,
  388.         CGrafPtr drawPort);
  389. typedef void   (* SOMLINK somTD_HIWindow_HilitePart)(HIWindow *somSelf, Environment *ev,
  390.         HIWindowPartCode whichPart,
  391.         boolean hiliteFlag,
  392.         CGrafPtr drawPort);
  393. typedef HIWindowPartCode   (* SOMLINK somTD_HIWindow_HitTest)(HIWindow *somSelf, Environment *ev,
  394.         Point* globalHitPt);
  395. typedef OSStatus   (* SOMLINK somTD_HIWindow_GetPartRgn)(HIWindow *somSelf, Environment *ev,
  396.         HIWindowRgnCode windowRgn,
  397.         RgnHandle theRgn);
  398. typedef OSStatus   (* SOMLINK somTD_HIWindow_GetUnusedGadgetRects)(HIWindow *somSelf, Environment *ev,
  399.         Rect* leftRect,
  400.         Rect* rightRect);
  401. typedef HIWindowGrowDirection   (* SOMLINK somTD_HIWindow_GetGrowDirection)(HIWindow *somSelf, Environment *ev,
  402.         Point* globalHitPt);
  403. typedef HILayerRef   (* SOMLINK somTD_HIWindow_GetPrimaryLayer)(Environment *ev);
  404. typedef OSStatus   (* SOMLINK somTD_HIWindow_NewWindowGroup)(Environment *ev,
  405.         HIWindowGroupRef* newGroup);
  406. typedef OSStatus   (* SOMLINK somTD_HIWindow_DisposeWindowGroup)(Environment *ev,
  407.         HIWindowGroupRef groupToDispose);
  408. typedef OSStatus   (* SOMLINK somTD_HIWindow_AddWindowGroupToWindowGroup)(Environment *ev,
  409.         HIWindowGroupRef baseGroup,
  410.         HIWindowGroupRef groupToAdd);
  411. typedef OSStatus   (* SOMLINK somTD_HIWindow_RemoveWindowGroupFromWindowGroup)(Environment *ev,
  412.         HIWindowGroupRef baseGroup,
  413.         HIWindowGroupRef groupToRemove);
  414. typedef HIWindowGroupRef   (* SOMLINK somTD_HIWindow_GetApplicationWindowGroup)(Environment *ev);
  415. typedef HIWindowGroupRef   (* SOMLINK somTD_HIWindow_GetWindowClassWindowGroup)(Environment *ev,
  416.         HIWindowClass windowClass);
  417. typedef OSStatus   (* SOMLINK somTD_HIWindow_GetWindowsInWindowGroup)(Environment *ev,
  418.         HIWindowGroupRef group,
  419.         ItemCount requestedWindows,
  420.         ItemCount* totalWindows,
  421.         HIWindow** windows);
  422. typedef OSStatus   (* SOMLINK somTD_HIWindow_GetWindowsInWindowGroupAndLayer)(Environment *ev,
  423.         HIWindowGroupRef group,
  424.         HILayerRef layer,
  425.         ItemCount requestedWindows,
  426.         ItemCount* totalWindows,
  427.         HIWindow** windows);
  428. typedef OSStatus   (* SOMLINK somTD_HIWindow_GetWindowGroupsInWindowGroup)(Environment *ev,
  429.         HIWindowGroupRef group,
  430.         ItemCount requestedGroups,
  431.         ItemCount* totalGroups,
  432.         HIWindowGroupRef* groups);
  433. typedef HIWindow*   (* SOMLINK somTD_HIWindow_FrontWindowOfWindowGroup)(Environment *ev,
  434.         HIWindowGroupRef group);
  435. typedef HIWindow*   (* SOMLINK somTD_HIWindow_FrontNonFloatingWindow)(Environment *ev);
  436. typedef void   (* SOMLINK somTD_HIWindow_ShowFloatingWindows)(Environment *ev);
  437. typedef void   (* SOMLINK somTD_HIWindow_HideFloatingWindows)(Environment *ev);
  438. typedef boolean   (* SOMLINK somTD_HIWindow_AreFloatersVisible)(Environment *ev);
  439. typedef void   (* SOMLINK somTD_HIWindow_ActivateFloatingWindows)(Environment *ev);
  440. typedef void   (* SOMLINK somTD_HIWindow_DeactivateFloatingWindows)(Environment *ev);
  441. typedef void   (* SOMLINK somTD_HIWindow_EnableAutomaticPaletteActivation)(Environment *ev);
  442. typedef void   (* SOMLINK somTD_HIWindow_DisableAutomaticPaletteActivation)(Environment *ev);
  443. typedef boolean   (* SOMLINK somTD_HIWindow_IsAutomaticPaletteActivationEnabled)(Environment *ev);
  444. typedef HIWindow*   (* SOMLINK somTD_HIWindow_GetHIWindow)(Environment *ev,
  445.         WindowPtr targetWindow);
  446.  
  447. /*
  448.  * -- Typedefs for Inherited Methods
  449.  */
  450. typedef HIWindow*   (* SOMLINK somTD_HIWindow_GetWindow)(HIWindow *somSelf, Environment *ev);
  451. typedef CGrafPtr   (* SOMLINK somTD_HIWindow_GetPort)(HIWindow *somSelf, Environment *ev);
  452. typedef void   (* SOMLINK somTD_HIWindow_GetRefLabel)(HIWindow *somSelf, Environment *ev,
  453.         RefLabel* identifier);
  454. typedef Collection   (* SOMLINK somTD_HIWindow_GetCollection)(HIWindow *somSelf, Environment *ev);
  455. typedef OSStatus   (* SOMLINK somTD_HIWindow_Init)(HIWindow *somSelf, Environment *ev,
  456.         RefLabel* identifier,
  457.         Rect* boundingRect);
  458. typedef void   (* SOMLINK somTD_HIWindow_Terminate)(HIWindow *somSelf, Environment *ev);
  459. typedef HIObject*   (* SOMLINK somTD_HIWindow_Clone)(HIWindow *somSelf, Environment *ev);
  460. typedef void   (* SOMLINK somTD_HIWindow_Release)(HIWindow *somSelf, Environment *ev);
  461. typedef ItemCount   (* SOMLINK somTD_HIWindow_GetOwnerCount)(HIWindow *somSelf, Environment *ev);
  462. typedef OSStatus   (* SOMLINK somTD_HIWindow_InitFromAERecord)(HIWindow *somSelf, Environment *ev,
  463.         AESubDesc* baseInitializerData,
  464.         AESubDesc* initializerDataForClass,
  465.         HIAERecordDataFormat dataFormat);
  466. typedef OSStatus   (* SOMLINK somTD_HIWindow_WriteToAERecord)(HIWindow *somSelf, Environment *ev,
  467.         AERecord* dataForSubclass,
  468.         AERecord* objectData,
  469.         HIAERecordDataFormat dataFormat);
  470. typedef void   (* SOMLINK somTD_HIWindow_CalculateOptimalSize)(HIWindow *somSelf, Environment *ev,
  471.         SInt16* optimalWidth,
  472.         SInt16* optimalHeight);
  473. typedef void   (* SOMLINK somTD_HIWindow_GetBoundingRect)(HIWindow *somSelf, Environment *ev,
  474.         HICoordinateSystem coordinate,
  475.         Rect* boundingRect);
  476. typedef void   (* SOMLINK somTD_HIWindow_SetBoundingRect)(HIWindow *somSelf, Environment *ev,
  477.         HICoordinateSystem coordinate,
  478.         Rect* newBoundingRect);
  479. typedef void   (* SOMLINK somTD_HIWindow_SetPosition)(HIWindow *somSelf, Environment *ev,
  480.         HICoordinateSystem coordinate,
  481.         Point* newPosition);
  482. typedef void   (* SOMLINK somTD_HIWindow_SetSize)(HIWindow *somSelf, Environment *ev,
  483.         SInt16 width,
  484.         SInt16 height);
  485. typedef void   (* SOMLINK somTD_HIWindow_GetUpdateRect)(HIWindow *somSelf, Environment *ev,
  486.         HICoordinateSystem coordinate,
  487.         Rect* updateRect);
  488. typedef void   (* SOMLINK somTD_HIWindow_Enable)(HIWindow *somSelf, Environment *ev);
  489. typedef void   (* SOMLINK somTD_HIWindow_Disable)(HIWindow *somSelf, Environment *ev);
  490. typedef boolean   (* SOMLINK somTD_HIWindow_IsEnabled)(HIWindow *somSelf, Environment *ev);
  491. typedef void   (* SOMLINK somTD_HIWindow_Show)(HIWindow *somSelf, Environment *ev);
  492. typedef void   (* SOMLINK somTD_HIWindow_Hide)(HIWindow *somSelf, Environment *ev);
  493. typedef boolean   (* SOMLINK somTD_HIWindow_IsVisible)(HIWindow *somSelf, Environment *ev);
  494. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleAppleEvent)(HIWindow *somSelf, Environment *ev,
  495.         AEEventClass eventClass,
  496.         AEEventID eventID,
  497.         AppleEvent* theEvent,
  498.         AppleEvent* reply,
  499.         AEHandlerTableRef handlerTableRef);
  500. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleActivate)(HIWindow *somSelf, Environment *ev,
  501.         AppleEvent* theEvent,
  502.         AppleEvent* reply,
  503.         AEHandlerTableRef handlerTableRef);
  504. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleDeactivate)(HIWindow *somSelf, Environment *ev,
  505.         AppleEvent* theEvent,
  506.         AppleEvent* reply,
  507.         AEHandlerTableRef handlerTableRef);
  508. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleNavigation)(HIWindow *somSelf, Environment *ev,
  509.         SInt8 key,
  510.         SInt8 keyCode,
  511.         EventModifiers modifiers,
  512.         AppleEvent* theEvent,
  513.         AppleEvent* reply,
  514.         AEHandlerTableRef handlerTableRef);
  515. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleMouseDownInContent)(HIWindow *somSelf, Environment *ev,
  516.         Point* portLocalWhere,
  517.         EventModifiers modifiers,
  518.         AppleEvent* theEvent,
  519.         AppleEvent* reply,
  520.         AEHandlerTableRef handlerTableRef);
  521. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleMouseMovedInContent)(HIWindow *somSelf, Environment *ev,
  522.         Point* portLocalWhere,
  523.         EventModifiers modifiers,
  524.         AppleEvent* theEvent,
  525.         AppleEvent* reply,
  526.         AEHandlerTableRef handlerTableRef);
  527. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleMouseStoppedMovingInContent)(HIWindow *somSelf, Environment *ev,
  528.         Point* portLocalWhere,
  529.         EventModifiers modifiers,
  530.         AppleEvent* theEvent,
  531.         AppleEvent* reply,
  532.         AEHandlerTableRef handlerTableRef);
  533. typedef OSStatus   (* SOMLINK somTD_HIWindow_HandleMouseUpInContent)(HIWindow *somSelf, Environment *ev,
  534.         Point* portLocalWhere,
  535.         EventModifiers modifiers,
  536.         AppleEvent* theEvent,
  537.         AppleEvent* reply,
  538.         AEHandlerTableRef handlerTableRef);
  539. typedef void   (* SOMLINK somTD_HIWindow_TakeUserInputFocus)(HIWindow *somSelf, Environment *ev);
  540. typedef void   (* SOMLINK somTD_HIWindow_ReleaseUserInputFocus)(HIWindow *somSelf, Environment *ev);
  541. typedef boolean   (* SOMLINK somTD_HIWindow_HasUserInputFocus)(HIWindow *somSelf, Environment *ev);
  542. typedef boolean   (* SOMLINK somTD_HIWindow_CanReleaseUserInputFocus)(HIWindow *somSelf, Environment *ev);
  543. typedef void   (* SOMLINK somTD_HIWindow_SetUserInputFocusFlags)(HIWindow *somSelf, Environment *ev,
  544.         HIUserInputFocusFlags flags);
  545. typedef HIUserInputFocusFlags   (* SOMLINK somTD_HIWindow_GetUserInputFocusFlags)(HIWindow *somSelf, Environment *ev);
  546. typedef OSStatus   (* SOMLINK somTD_HIWindow_SetTitle)(HIWindow *somSelf, Environment *ev,
  547.         ConstHIImageRef title,
  548.         HIAdoptionFlags disposalAdoptionFlags);
  549. typedef OSStatus   (* SOMLINK somTD_HIWindow_GetTitle)(HIWindow *somSelf, Environment *ev,
  550.         HIImageRef* title);
  551. typedef void   (* SOMLINK somTD_HIWindow_Draw)(HIWindow *somSelf, Environment *ev,
  552.         CGrafPtr whichPort,
  553.         RgnHandle drawRgn);
  554. typedef void   (* SOMLINK somTD_HIWindow_Erase)(HIWindow *somSelf, Environment *ev,
  555.         CGrafPtr whichPort,
  556.         RgnHandle eraseRgn);
  557. typedef void   (* SOMLINK somTD_HIWindow_Invalidate)(HIWindow *somSelf, Environment *ev);
  558. typedef HIDrawingMode   (* SOMLINK somTD_HIWindow_GetDrawingMode)(HIWindow *somSelf, Environment *ev);
  559. typedef void   (* SOMLINK somTD_HIWindow_SetDrawingMode)(HIWindow *somSelf, Environment *ev,
  560.         HIDrawingMode drawingMode);
  561. typedef void   (* SOMLINK somTD_HIWindow_SetBackgroundPattern)(HIWindow *somSelf, Environment *ev,
  562.         PixPatHandle backgroundPattern);
  563. typedef PixPatHandle   (* SOMLINK somTD_HIWindow_GetBackgroundPattern)(HIWindow *somSelf, Environment *ev);
  564. typedef void   (* SOMLINK somTD_HIWindow_Cut)(HIWindow *somSelf, Environment *ev);
  565. typedef void   (* SOMLINK somTD_HIWindow_Copy)(HIWindow *somSelf, Environment *ev);
  566. typedef void   (* SOMLINK somTD_HIWindow_Paste)(HIWindow *somSelf, Environment *ev);
  567. typedef void   (* SOMLINK somTD_HIWindow_Clear)(HIWindow *somSelf, Environment *ev);
  568. typedef HIClipboardSupportFlags   (* SOMLINK somTD_HIWindow_GetClipboardSupportFlags)(HIWindow *somSelf, Environment *ev);
  569. typedef OSStatus   (* SOMLINK somTD_HIWindow_AddStateChangeCallback)(HIWindow *somSelf, Environment *ev,
  570.         HIStateChangeCallbackProcPtr changedStateCallback,
  571.         HIStateChangeCallbackRef* newCallbackRef);
  572. typedef OSStatus   (* SOMLINK somTD_HIWindow_RemoveStateChangeCallback)(HIWindow *somSelf, Environment *ev,
  573.         HIStateChangeCallbackRef callbackRefToRemove);
  574. typedef OSStatus   (* SOMLINK somTD_HIWindow_GetHIObjectFromRefLabel)(Environment *ev,
  575.         RefLabel* identifier,
  576.         ItemCount requestedObjects,
  577.         ItemCount* totalObjects,
  578.         HIObject** theObjects);
  579. typedef OSStatus   (* SOMLINK somTD_HIWindow_GetNewHIObject)(Environment *ev,
  580.         AESubDesc* objectInitializer,
  581.         HIObject** newObject);
  582. typedef OSStatus   (* SOMLINK somTD_HIWindow_GetNewHIObjectFromResource)(Environment *ev,
  583.         ResID objectInitializerResourceID,
  584.         HIObject** newObject);
  585. typedef void   (* SOMLINK somTD_HIWindow_DrawContent)(HIWindow *somSelf, Environment *ev,
  586.         CGrafPtr whichPort,
  587.         RgnHandle drawRgn);
  588. typedef void   (* SOMLINK somTD_HIWindow_EraseContent)(HIWindow *somSelf, Environment *ev,
  589.         CGrafPtr whichPort,
  590.         RgnHandle regionToErase);
  591. typedef void   (* SOMLINK somTD_HIWindow_TranslatePoint)(HIWindow *somSelf, Environment *ev,
  592.         HICoordinateSystem translateFrom,
  593.         HICoordinateSystem translateTo,
  594.         Point* sourcePoint,
  595.         Point* translatedPoint);
  596. typedef void   (* SOMLINK somTD_HIWindow_TranslateRect)(HIWindow *somSelf, Environment *ev,
  597.         HICoordinateSystem translateFrom,
  598.         HICoordinateSystem translateTo,
  599.         Rect* sourceRect,
  600.         Rect* translatedRect);
  601. typedef void   (* SOMLINK somTD_HIWindow_StateChanged)(HIWindow *somSelf, Environment *ev,
  602.         HIStateChangeCodeCreator selectorCreator,
  603.         HIStateChangeCode changedCode);
  604. typedef void   (* SOMLINK somTD_HIWindow_SetClipboardSupportFlags)(HIWindow *somSelf, Environment *ev,
  605.         HIClipboardSupportFlags flags);
  606. typedef OSStatus   (* SOMLINK somTD_HIWindow_Verify)(HIWindow *somSelf, Environment *ev);
  607. typedef void   (* SOMLINK somTD_HIWindow_somInit)(HIWindow *somSelf);
  608. typedef void   (* SOMLINK somTD_HIWindow_somUninit)(HIWindow *somSelf);
  609. typedef SOMObject*   (* SOMLINK somTD_HIWindow_somDuplicateReference)(HIWindow *somSelf);
  610. typedef boolean   (* SOMLINK somTD_HIWindow_somCompareReference)(HIWindow *somSelf,
  611.         SOMObject* anObject);
  612. typedef SOMObject*   (* SOMLINK somTD_HIWindow_somRelease)(HIWindow *somSelf);
  613. typedef void   (* SOMLINK somTD_HIWindow_somFree)(HIWindow *somSelf);
  614. typedef boolean   (* SOMLINK somTD_HIWindow_somCanDelete)(HIWindow *somSelf);
  615. typedef SOMClass*   (* SOMLINK somTD_HIWindow_somGetClass)(HIWindow *somSelf);
  616. typedef corbastring   (* SOMLINK somTD_HIWindow_somGetClassName)(HIWindow *somSelf);
  617. typedef long   (* SOMLINK somTD_HIWindow_somGetSize)(HIWindow *somSelf);
  618. typedef boolean   (* SOMLINK somTD_HIWindow_somIsA)(HIWindow *somSelf,
  619.         SOMClass* aClassObj);
  620. typedef boolean   (* SOMLINK somTD_HIWindow_somRespondsTo)(HIWindow *somSelf,
  621.         somId mId);
  622. typedef boolean   (* SOMLINK somTD_HIWindow_somIsInstanceOf)(HIWindow *somSelf,
  623.         SOMClass* aClassObj);
  624. typedef boolean   (* SOMLINK somTD_HIWindow_somDispatch)(HIWindow *somSelf,
  625.         somToken* retValue,
  626.         somId methodId,
  627.         va_list ap);
  628. typedef boolean   (* SOMLINK somTD_HIWindow_somClassDispatch)(HIWindow *somSelf,
  629.         SOMClass* clsObj,
  630.         somToken* retValue,
  631.         somId methodId,
  632.         va_list ap);
  633. typedef boolean   (* SOMLINK somTD_HIWindow_somCastObj)(HIWindow *somSelf,
  634.         SOMClass* cls);
  635. typedef boolean   (* SOMLINK somTD_HIWindow_somResetObj)(HIWindow *somSelf);
  636. typedef SOMObject*   (* SOMLINK somTD_HIWindow_somPrintSelf)(HIWindow *somSelf);
  637. typedef void   (* SOMLINK somTD_HIWindow_somDumpSelf)(HIWindow *somSelf,
  638.         long level);
  639. typedef void   (* SOMLINK somTD_HIWindow_somDumpSelfInt)(HIWindow *somSelf,
  640.         long level);
  641. }
  642.  
  643. #endif /* HIWindow_API */
  644.  
  645.  
  646. /*
  647.  * -- This emitter treats Method Tokens as Thunks by default.
  648.  * -- Use the sc modifier "nothunks" to change this default
  649.  */
  650. #undef somresolve_
  651. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  652.  
  653. /*
  654.  * -- The C++ Wrapper Class for HIWindow
  655.  */
  656. class HIWindow : public HIObject
  657. {
  658. public:
  659.  
  660. // HIWindow::new registers use of the class object, and then uses somNew
  661. // to allocate memory and load the object method table pointer. 
  662. void *operator new(size_t size)
  663. {
  664.     SOM_IgnoreWarning(size);
  665.     // Allocate memory using the default allocator for HIWindow, and
  666.     // clear mem & set method table pointer, call basic initialization
  667.     return (void*) somNewObject(HIWindow);
  668. }
  669.  
  670. // HIWindow::delete uses the default deallocator for the object's class.
  671. void operator delete(void * obj)
  672. {
  673.     if (obj) {
  674.         SOM_Resolve(obj,SOMObject,somFree)
  675.            ( (SOMObject*) obj );
  676.     }
  677. }
  678.  
  679. /* method: InitWindow */
  680. OSStatus   InitWindow(Environment *ev,
  681.         RefLabel* identifier,
  682.         Rect* globalBounds,
  683.         HIWindowClass windowClass,
  684.         HIWindowVariant windowVariant,
  685.         HIWindowAttributes windowAttributes,
  686.         HIRootPanel* rootPanel,
  687.         HIWindow* behindThisWindow)
  688. {
  689.    return SOM_ResolveD(this,HIWindow,HIWindow,InitWindow)
  690.     (this,ev,identifier,globalBounds,windowClass,windowVariant,windowAttributes,rootPanel,behindThisWindow);
  691. }
  692.  
  693. /* method: InitWindowInLayer */
  694. OSStatus   InitWindowInLayer(Environment *ev,
  695.         RefLabel* identifier,
  696.         Rect* globalBounds,
  697.         HIWindowClass windowClass,
  698.         HIWindowVariant windowVariant,
  699.         HIWindowAttributes windowAttributes,
  700.         HIRootPanel* rootPanel,
  701.         HIWindow* behindThisWindow,
  702.         HILayerRef containingLayer)
  703. {
  704.    return SOM_ResolveD(this,HIWindow,HIWindow,InitWindowInLayer)
  705.     (this,ev,identifier,globalBounds,windowClass,windowVariant,windowAttributes,rootPanel,behindThisWindow,containingLayer);
  706. }
  707.  
  708. /* method: Select */
  709. OSStatus   Select(Environment *ev)
  710. {
  711.    return SOM_ResolveD(this,HIWindow,HIWindow,Select)
  712.     (this,ev);
  713. }
  714.  
  715. /* method: SelectWithGroup */
  716. OSStatus   SelectWithGroup(Environment *ev,
  717.         HIWindowGroupRef groupRef)
  718. {
  719.    return SOM_ResolveD(this,HIWindow,HIWindow,SelectWithGroup)
  720.     (this,ev,groupRef);
  721. }
  722.  
  723. /* method: Hilite */
  724. OSStatus   Hilite(Environment *ev)
  725. {
  726.    return SOM_ResolveD(this,HIWindow,HIWindow,Hilite)
  727.     (this,ev);
  728. }
  729.  
  730. /* method: Unhilite */
  731. OSStatus   Unhilite(Environment *ev)
  732. {
  733.    return SOM_ResolveD(this,HIWindow,HIWindow,Unhilite)
  734.     (this,ev);
  735. }
  736.  
  737. /* method: IsHilited */
  738. boolean   IsHilited(Environment *ev)
  739. {
  740.    return SOM_ResolveD(this,HIWindow,HIWindow,IsHilited)
  741.     (this,ev);
  742. }
  743.  
  744. /* method: IsActive */
  745. boolean   IsActive(Environment *ev)
  746. {
  747.    return SOM_ResolveD(this,HIWindow,HIWindow,IsActive)
  748.     (this,ev);
  749. }
  750.  
  751. /* method: BringToFront */
  752. OSStatus   BringToFront(Environment *ev)
  753. {
  754.    return SOM_ResolveD(this,HIWindow,HIWindow,BringToFront)
  755.     (this,ev);
  756. }
  757.  
  758. /* method: SendBehind */
  759. OSStatus   SendBehind(Environment *ev,
  760.         HIWindow* behindThisWindow)
  761. {
  762.    return SOM_ResolveD(this,HIWindow,HIWindow,SendBehind)
  763.     (this,ev,behindThisWindow);
  764. }
  765.  
  766. /* method: ShowWithoutActivate */
  767. OSStatus   ShowWithoutActivate(Environment *ev)
  768. {
  769.    return SOM_ResolveD(this,HIWindow,HIWindow,ShowWithoutActivate)
  770.     (this,ev);
  771. }
  772.  
  773. /* method: HideWithoutActivate */
  774. OSStatus   HideWithoutActivate(Environment *ev)
  775. {
  776.    return SOM_ResolveD(this,HIWindow,HIWindow,HideWithoutActivate)
  777.     (this,ev);
  778. }
  779.  
  780. /* method: Zoom */
  781. OSStatus   Zoom(Environment *ev,
  782.         HIWindowPartCode whichPart,
  783.         boolean front)
  784. {
  785.    return SOM_ResolveD(this,HIWindow,HIWindow,Zoom)
  786.     (this,ev,whichPart,front);
  787. }
  788.  
  789. /* method: ZoomOut */
  790. OSStatus   ZoomOut(Environment *ev,
  791.         Point* idealSize)
  792. {
  793.    return SOM_ResolveD(this,HIWindow,HIWindow,ZoomOut)
  794.     (this,ev,idealSize);
  795. }
  796.  
  797. /* method: Collapse */
  798. OSStatus   Collapse(Environment *ev)
  799. {
  800.    return SOM_ResolveD(this,HIWindow,HIWindow,Collapse)
  801.     (this,ev);
  802. }
  803.  
  804. /* method: Expand */
  805. OSStatus   Expand(Environment *ev)
  806. {
  807.    return SOM_ResolveD(this,HIWindow,HIWindow,Expand)
  808.     (this,ev);
  809. }
  810.  
  811. /* method: IsCollapsed */
  812. boolean   IsCollapsed(Environment *ev)
  813. {
  814.    return SOM_ResolveD(this,HIWindow,HIWindow,IsCollapsed)
  815.     (this,ev);
  816. }
  817.  
  818. /* method: SetAttachedWindowGroup */
  819. OSStatus   SetAttachedWindowGroup(Environment *ev,
  820.         HIWindowGroupRef groupRef)
  821. {
  822.    return SOM_ResolveD(this,HIWindow,HIWindow,SetAttachedWindowGroup)
  823.     (this,ev,groupRef);
  824. }
  825.  
  826. /* method: GetAttachedWindowGroup */
  827. HIWindowGroupRef   GetAttachedWindowGroup(Environment *ev)
  828. {
  829.    return SOM_ResolveD(this,HIWindow,HIWindow,GetAttachedWindowGroup)
  830.     (this,ev);
  831. }
  832.  
  833. /* method: AddToGroup */
  834. OSStatus   AddToGroup(Environment *ev,
  835.         HIWindowGroupRef groupRef)
  836. {
  837.    return SOM_ResolveD(this,HIWindow,HIWindow,AddToGroup)
  838.     (this,ev,groupRef);
  839. }
  840.  
  841. /* method: RemoveFromGroup */
  842. OSStatus   RemoveFromGroup(Environment *ev,
  843.         HIWindowGroupRef groupRef)
  844. {
  845.    return SOM_ResolveD(this,HIWindow,HIWindow,RemoveFromGroup)
  846.     (this,ev,groupRef);
  847. }
  848.  
  849. /* method: InvalidateRect */
  850. OSStatus   InvalidateRect(Environment *ev,
  851.         Rect* badRect)
  852. {
  853.    return SOM_ResolveD(this,HIWindow,HIWindow,InvalidateRect)
  854.     (this,ev,badRect);
  855. }
  856.  
  857. /* method: InvalidateRgn */
  858. OSStatus   InvalidateRgn(Environment *ev,
  859.         RgnHandle badRgn)
  860. {
  861.    return SOM_ResolveD(this,HIWindow,HIWindow,InvalidateRgn)
  862.     (this,ev,badRgn);
  863. }
  864.  
  865. /* method: ValidateRect */
  866. OSStatus   ValidateRect(Environment *ev,
  867.         Rect* goodRect)
  868. {
  869.    return SOM_ResolveD(this,HIWindow,HIWindow,ValidateRect)
  870.     (this,ev,goodRect);
  871. }
  872.  
  873. /* method: ValidateRgn */
  874. OSStatus   ValidateRgn(Environment *ev,
  875.         RgnHandle goodRgn)
  876. {
  877.    return SOM_ResolveD(this,HIWindow,HIWindow,ValidateRgn)
  878.     (this,ev,goodRgn);
  879. }
  880.  
  881. /* method: SetPort */
  882. OSStatus   SetPort(Environment *ev)
  883. {
  884.    return SOM_ResolveD(this,HIWindow,HIWindow,SetPort)
  885.     (this,ev);
  886. }
  887.  
  888. /* method: BeginUpdate */
  889. OSStatus   BeginUpdate(Environment *ev)
  890. {
  891.    return SOM_ResolveD(this,HIWindow,HIWindow,BeginUpdate)
  892.     (this,ev);
  893. }
  894.  
  895. /* method: EndUpdate */
  896. OSStatus   EndUpdate(Environment *ev)
  897. {
  898.    return SOM_ResolveD(this,HIWindow,HIWindow,EndUpdate)
  899.     (this,ev);
  900. }
  901.  
  902. /* method: DrawGrowIcon */
  903. OSStatus   DrawGrowIcon(Environment *ev)
  904. {
  905.    return SOM_ResolveD(this,HIWindow,HIWindow,DrawGrowIcon)
  906.     (this,ev);
  907. }
  908.  
  909. /* method: PositionOnScreen */
  910. OSStatus   PositionOnScreen(Environment *ev,
  911.         Rect* globalReferenceRect,
  912.         boolean findScreen,
  913.         HIWindowHorizontalConstraint horizontalConstraint,
  914.         HIWindowVerticalConstraint verticalConstraint)
  915. {
  916.    return SOM_ResolveD(this,HIWindow,HIWindow,PositionOnScreen)
  917.     (this,ev,globalReferenceRect,findScreen,horizontalConstraint,verticalConstraint);
  918. }
  919.  
  920. /* method: AutoPosition */
  921. OSStatus   AutoPosition(Environment *ev,
  922.         HIWindowLocationConstraint locationConstraint,
  923.         HIWindowHorizontalConstraint horizontalConstraint,
  924.         HIWindowVerticalConstraint verticalConstraint)
  925. {
  926.    return SOM_ResolveD(this,HIWindow,HIWindow,AutoPosition)
  927.     (this,ev,locationConstraint,horizontalConstraint,verticalConstraint);
  928. }
  929.  
  930. /* method: IsPositionedOnScreen */
  931. boolean   IsPositionedOnScreen(Environment *ev,
  932.         HIWindowPartCode whichPart,
  933.         boolean entirelyOnScreen)
  934. {
  935.    return SOM_ResolveD(this,HIWindow,HIWindow,IsPositionedOnScreen)
  936.     (this,ev,whichPart,entirelyOnScreen);
  937. }
  938.  
  939. /* method: SetAttributes */
  940. OSStatus   SetAttributes(Environment *ev,
  941.         HIWindowAttributes newAttributes,
  942.         boolean redraw)
  943. {
  944.    return SOM_ResolveD(this,HIWindow,HIWindow,SetAttributes)
  945.     (this,ev,newAttributes,redraw);
  946. }
  947.  
  948. /* method: GetAttributes */
  949. HIWindowAttributes   GetAttributes(Environment *ev)
  950. {
  951.    return SOM_ResolveD(this,HIWindow,HIWindow,GetAttributes)
  952.     (this,ev);
  953. }
  954.  
  955. /* method: SetClass */
  956. OSStatus   SetClass(Environment *ev,
  957.         HIWindowClass newClass)
  958. {
  959.    return SOM_ResolveD(this,HIWindow,HIWindow,SetClass)
  960.     (this,ev,newClass);
  961. }
  962.  
  963. /* method: GetClass */
  964. HIWindowClass   GetClass(Environment *ev)
  965. {
  966.    return SOM_ResolveD(this,HIWindow,HIWindow,GetClass)
  967.     (this,ev);
  968. }
  969.  
  970. /* method: SetVariant */
  971. OSStatus   SetVariant(Environment *ev,
  972.         HIWindowVariant newVariant)
  973. {
  974.    return SOM_ResolveD(this,HIWindow,HIWindow,SetVariant)
  975.     (this,ev,newVariant);
  976. }
  977.  
  978. /* method: GetVariant */
  979. HIWindowVariant   GetVariant(Environment *ev)
  980. {
  981.    return SOM_ResolveD(this,HIWindow,HIWindow,GetVariant)
  982.     (this,ev);
  983. }
  984.  
  985. /* method: GetStructureRgn */
  986. OSStatus   GetStructureRgn(Environment *ev,
  987.         RgnHandle structureCopy)
  988. {
  989.    return SOM_ResolveD(this,HIWindow,HIWindow,GetStructureRgn)
  990.     (this,ev,structureCopy);
  991. }
  992.  
  993. /* method: GetContentRgn */
  994. OSStatus   GetContentRgn(Environment *ev,
  995.         RgnHandle contentCopy)
  996. {
  997.    return SOM_ResolveD(this,HIWindow,HIWindow,GetContentRgn)
  998.     (this,ev,contentCopy);
  999. }
  1000.  
  1001. /* method: GetUpdateRgn */
  1002. OSStatus   GetUpdateRgn(Environment *ev,
  1003.         RgnHandle updateCopy)
  1004. {
  1005.    return SOM_ResolveD(this,HIWindow,HIWindow,GetUpdateRgn)
  1006.     (this,ev,updateCopy);
  1007. }
  1008.  
  1009. /* method: SetStandardState */
  1010. OSStatus   SetStandardState(Environment *ev,
  1011.         Rect* globalStandardState)
  1012. {
  1013.    return SOM_ResolveD(this,HIWindow,HIWindow,SetStandardState)
  1014.     (this,ev,globalStandardState);
  1015. }
  1016.  
  1017. /* method: GetStandardState */
  1018. Rect*   GetStandardState(Environment *ev,
  1019.         Rect* globalStandardState)
  1020. {
  1021.    return SOM_ResolveD(this,HIWindow,HIWindow,GetStandardState)
  1022.     (this,ev,globalStandardState);
  1023. }
  1024.  
  1025. /* method: SetUserState */
  1026. OSStatus   SetUserState(Environment *ev,
  1027.         Rect* globalUserState)
  1028. {
  1029.    return SOM_ResolveD(this,HIWindow,HIWindow,SetUserState)
  1030.     (this,ev,globalUserState);
  1031. }
  1032.  
  1033. /* method: GetUserState */
  1034. Rect*   GetUserState(Environment *ev,
  1035.         Rect* globalUserState)
  1036. {
  1037.    return SOM_ResolveD(this,HIWindow,HIWindow,GetUserState)
  1038.     (this,ev,globalUserState);
  1039. }
  1040.  
  1041. /* method: SetDefaultGrowLimits */
  1042. OSStatus   SetDefaultGrowLimits(Environment *ev,
  1043.         Point* minimumSize,
  1044.         Point* maximumSize)
  1045. {
  1046.    return SOM_ResolveD(this,HIWindow,HIWindow,SetDefaultGrowLimits)
  1047.     (this,ev,minimumSize,maximumSize);
  1048. }
  1049.  
  1050. /* method: GetDefaultGrowLimits */
  1051. OSStatus   GetDefaultGrowLimits(Environment *ev,
  1052.         Point* minimumSize,
  1053.         Point* maximumSize)
  1054. {
  1055.    return SOM_ResolveD(this,HIWindow,HIWindow,GetDefaultGrowLimits)
  1056.     (this,ev,minimumSize,maximumSize);
  1057. }
  1058.  
  1059. /* method: SetDefaultOptimalSize */
  1060. OSStatus   SetDefaultOptimalSize(Environment *ev,
  1061.         Point* defaultSize)
  1062. {
  1063.    return SOM_ResolveD(this,HIWindow,HIWindow,SetDefaultOptimalSize)
  1064.     (this,ev,defaultSize);
  1065. }
  1066.  
  1067. /* method: GetDefaultOptimalSize */
  1068. OSStatus   GetDefaultOptimalSize(Environment *ev,
  1069.         Point* defaultSize)
  1070. {
  1071.    return SOM_ResolveD(this,HIWindow,HIWindow,GetDefaultOptimalSize)
  1072.     (this,ev,defaultSize);
  1073. }
  1074.  
  1075. /* method: GetRootPanel */
  1076. HIRootPanel*   GetRootPanel(Environment *ev)
  1077. {
  1078.    return SOM_ResolveD(this,HIWindow,HIWindow,GetRootPanel)
  1079.     (this,ev);
  1080. }
  1081.  
  1082. /* method: SetRootPanel */
  1083. OSStatus   SetRootPanel(Environment *ev,
  1084.         HIRootPanel* thePanel)
  1085. {
  1086.    return SOM_ResolveD(this,HIWindow,HIWindow,SetRootPanel)
  1087.     (this,ev,thePanel);
  1088. }
  1089.  
  1090. /* method: GetEventDispatcher */
  1091. AEDispatcherRef   GetEventDispatcher(Environment *ev)
  1092. {
  1093.    return SOM_ResolveD(this,HIWindow,HIWindow,GetEventDispatcher)
  1094.     (this,ev);
  1095. }
  1096.  
  1097. /* method: HandleMouseDown */
  1098. OSStatus   HandleMouseDown(Environment *ev,
  1099.         Point* globalPt,
  1100.         EventModifiers modifiers,
  1101.         AppleEvent* theEvent,
  1102.         AppleEvent* reply,
  1103.         AEHandlerTableRef handlerTableRef)
  1104. {
  1105.    return SOM_ResolveD(this,HIWindow,HIWindow,HandleMouseDown)
  1106.     (this,ev,globalPt,modifiers,theEvent,reply,handlerTableRef);
  1107. }
  1108.  
  1109. /* method: HandleMouseMoved */
  1110. OSStatus   HandleMouseMoved(Environment *ev,
  1111.         Point* globalPt,
  1112.         EventModifiers modifiers,
  1113.         AppleEvent* theEvent,
  1114.         AppleEvent* reply,
  1115.         AEHandlerTableRef handlerTableRef)
  1116. {
  1117.    return SOM_ResolveD(this,HIWindow,HIWindow,HandleMouseMoved)
  1118.     (this,ev,globalPt,modifiers,theEvent,reply,handlerTableRef);
  1119. }
  1120.  
  1121. /* method: HandleMouseStoppedMoving */
  1122. OSStatus   HandleMouseStoppedMoving(Environment *ev,
  1123.         Point* globalPt,
  1124.         EventModifiers modifiers,
  1125.         AppleEvent* theEvent,
  1126.         AppleEvent* reply,
  1127.         AEHandlerTableRef handlerTableRef)
  1128. {
  1129.    return SOM_ResolveD(this,HIWindow,HIWindow,HandleMouseStoppedMoving)
  1130.     (this,ev,globalPt,modifiers,theEvent,reply,handlerTableRef);
  1131. }
  1132.  
  1133. /* method: HandleMouseUp */
  1134. OSStatus   HandleMouseUp(Environment *ev,
  1135.         Point* globalPt,
  1136.         EventModifiers modifiers,
  1137.         AppleEvent* theEvent,
  1138.         AppleEvent* reply,
  1139.         AEHandlerTableRef handlerTableRef)
  1140. {
  1141.    return SOM_ResolveD(this,HIWindow,HIWindow,HandleMouseUp)
  1142.     (this,ev,globalPt,modifiers,theEvent,reply,handlerTableRef);
  1143. }
  1144.  
  1145. /* method: HandleMouseDownInBack */
  1146. OSStatus   HandleMouseDownInBack(Environment *ev,
  1147.         Point* portLocalWhere,
  1148.         EventModifiers modifiers,
  1149.         AppleEvent* theEvent,
  1150.         AppleEvent* reply,
  1151.         AEHandlerTableRef handlerTableRef)
  1152. {
  1153.    return SOM_ResolveD(this,HIWindow,HIWindow,HandleMouseDownInBack)
  1154.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  1155. }
  1156.  
  1157. /* method: HandleUpdate */
  1158. OSStatus   HandleUpdate(Environment *ev,
  1159.         AppleEvent* theEvent,
  1160.         AppleEvent* reply,
  1161.         AEHandlerTableRef handlerTableRef)
  1162. {
  1163.    return SOM_ResolveD(this,HIWindow,HIWindow,HandleUpdate)
  1164.     (this,ev,theEvent,reply,handlerTableRef);
  1165. }
  1166.  
  1167. /* method: HandleResize */
  1168. OSStatus   HandleResize(Environment *ev,
  1169.         Rect* originalBounds,
  1170.         Rect* newBounds,
  1171.         AppleEvent* theEvent,
  1172.         AppleEvent* reply,
  1173.         AEHandlerTableRef handlerTableRef)
  1174. {
  1175.    return SOM_ResolveD(this,HIWindow,HIWindow,HandleResize)
  1176.     (this,ev,originalBounds,newBounds,theEvent,reply,handlerTableRef);
  1177. }
  1178.  
  1179. /* method: HandleClose */
  1180. OSStatus   HandleClose(Environment *ev,
  1181.         boolean closeAll,
  1182.         AppleEvent* theEvent,
  1183.         AppleEvent* reply,
  1184.         AEHandlerTableRef handlerTableRef)
  1185. {
  1186.    return SOM_ResolveD(this,HIWindow,HIWindow,HandleClose)
  1187.     (this,ev,closeAll,theEvent,reply,handlerTableRef);
  1188. }
  1189.  
  1190. /* method: AdjustDragLimits */
  1191. void   AdjustDragLimits(Environment *ev,
  1192.         Rect* dragLimits)
  1193. {
  1194.    SOM_ResolveD(this,HIWindow,HIWindow,AdjustDragLimits)
  1195.     (this,ev,dragLimits);
  1196. }
  1197.  
  1198. /* method: AdjustGrowLimits */
  1199. void   AdjustGrowLimits(Environment *ev,
  1200.         Point* minimumSize,
  1201.         Point* maximumSize)
  1202. {
  1203.    SOM_ResolveD(this,HIWindow,HIWindow,AdjustGrowLimits)
  1204.     (this,ev,minimumSize,maximumSize);
  1205. }
  1206.  
  1207. /* method: TrackPart */
  1208. OSStatus   TrackPart(Environment *ev,
  1209.         Point* globalPt,
  1210.         EventModifiers modifiers,
  1211.         HIWindowPartCode whichPart)
  1212. {
  1213.    return SOM_ResolveD(this,HIWindow,HIWindow,TrackPart)
  1214.     (this,ev,globalPt,modifiers,whichPart);
  1215. }
  1216.  
  1217. /* method: DrawFrame */
  1218. void   DrawFrame(Environment *ev,
  1219.         CGrafPtr drawPort)
  1220. {
  1221.    SOM_ResolveD(this,HIWindow,HIWindow,DrawFrame)
  1222.     (this,ev,drawPort);
  1223. }
  1224.  
  1225. /* method: DrawOutline */
  1226. void   DrawOutline(Environment *ev,
  1227.         Rect* globalOutlineRect,
  1228.         CGrafPtr drawPort)
  1229. {
  1230.    SOM_ResolveD(this,HIWindow,HIWindow,DrawOutline)
  1231.     (this,ev,globalOutlineRect,drawPort);
  1232. }
  1233.  
  1234. /* method: DrawSizeBox */
  1235. void   DrawSizeBox(Environment *ev,
  1236.         CGrafPtr drawPort)
  1237. {
  1238.    SOM_ResolveD(this,HIWindow,HIWindow,DrawSizeBox)
  1239.     (this,ev,drawPort);
  1240. }
  1241.  
  1242. /* method: HilitePart */
  1243. void   HilitePart(Environment *ev,
  1244.         HIWindowPartCode whichPart,
  1245.         boolean hiliteFlag,
  1246.         CGrafPtr drawPort)
  1247. {
  1248.    SOM_ResolveD(this,HIWindow,HIWindow,HilitePart)
  1249.     (this,ev,whichPart,hiliteFlag,drawPort);
  1250. }
  1251.  
  1252. /* method: HitTest */
  1253. HIWindowPartCode   HitTest(Environment *ev,
  1254.         Point* globalHitPt)
  1255. {
  1256.    return SOM_ResolveD(this,HIWindow,HIWindow,HitTest)
  1257.     (this,ev,globalHitPt);
  1258. }
  1259.  
  1260. /* method: GetPartRgn */
  1261. OSStatus   GetPartRgn(Environment *ev,
  1262.         HIWindowRgnCode windowRgn,
  1263.         RgnHandle theRgn)
  1264. {
  1265.    return SOM_ResolveD(this,HIWindow,HIWindow,GetPartRgn)
  1266.     (this,ev,windowRgn,theRgn);
  1267. }
  1268.  
  1269. /* method: GetUnusedGadgetRects */
  1270. OSStatus   GetUnusedGadgetRects(Environment *ev,
  1271.         Rect* leftRect,
  1272.         Rect* rightRect)
  1273. {
  1274.    return SOM_ResolveD(this,HIWindow,HIWindow,GetUnusedGadgetRects)
  1275.     (this,ev,leftRect,rightRect);
  1276. }
  1277.  
  1278. /* method: GetGrowDirection */
  1279. HIWindowGrowDirection   GetGrowDirection(Environment *ev,
  1280.         Point* globalHitPt)
  1281. {
  1282.    return SOM_ResolveD(this,HIWindow,HIWindow,GetGrowDirection)
  1283.     (this,ev,globalHitPt);
  1284. }
  1285.  
  1286. /* noself procedure: GetPrimaryLayer */
  1287. static HILayerRef   GetPrimaryLayer(Environment *ev)
  1288. {
  1289. return ((somTD_HIWindow_GetPrimaryLayer)HIWindowClassData.GetPrimaryLayer)
  1290.     ( ev);
  1291. }
  1292.  
  1293. /* noself procedure: NewWindowGroup */
  1294. static OSStatus   NewWindowGroup(Environment *ev,
  1295.         HIWindowGroupRef* newGroup)
  1296. {
  1297. return ((somTD_HIWindow_NewWindowGroup)HIWindowClassData.NewWindowGroup)
  1298.     (ev,newGroup);
  1299. }
  1300.  
  1301. /* noself procedure: DisposeWindowGroup */
  1302. static OSStatus   DisposeWindowGroup(Environment *ev,
  1303.         HIWindowGroupRef groupToDispose)
  1304. {
  1305. return ((somTD_HIWindow_DisposeWindowGroup)HIWindowClassData.DisposeWindowGroup)
  1306.     (ev,groupToDispose);
  1307. }
  1308.  
  1309. /* noself procedure: AddWindowGroupToWindowGroup */
  1310. static OSStatus   AddWindowGroupToWindowGroup(Environment *ev,
  1311.         HIWindowGroupRef baseGroup,
  1312.         HIWindowGroupRef groupToAdd)
  1313. {
  1314. return ((somTD_HIWindow_AddWindowGroupToWindowGroup)HIWindowClassData.AddWindowGroupToWindowGroup)
  1315.     (ev,baseGroup,groupToAdd);
  1316. }
  1317.  
  1318. /* noself procedure: RemoveWindowGroupFromWindowGroup */
  1319. static OSStatus   RemoveWindowGroupFromWindowGroup(Environment *ev,
  1320.         HIWindowGroupRef baseGroup,
  1321.         HIWindowGroupRef groupToRemove)
  1322. {
  1323. return ((somTD_HIWindow_RemoveWindowGroupFromWindowGroup)HIWindowClassData.RemoveWindowGroupFromWindowGroup)
  1324.     (ev,baseGroup,groupToRemove);
  1325. }
  1326.  
  1327. /* noself procedure: GetApplicationWindowGroup */
  1328. static HIWindowGroupRef   GetApplicationWindowGroup(Environment *ev)
  1329. {
  1330. return ((somTD_HIWindow_GetApplicationWindowGroup)HIWindowClassData.GetApplicationWindowGroup)
  1331.     ( ev);
  1332. }
  1333.  
  1334. /* noself procedure: GetWindowClassWindowGroup */
  1335. static HIWindowGroupRef   GetWindowClassWindowGroup(Environment *ev,
  1336.         HIWindowClass windowClass)
  1337. {
  1338. return ((somTD_HIWindow_GetWindowClassWindowGroup)HIWindowClassData.GetWindowClassWindowGroup)
  1339.     (ev,windowClass);
  1340. }
  1341.  
  1342. /* noself procedure: GetWindowsInWindowGroup */
  1343. static OSStatus   GetWindowsInWindowGroup(Environment *ev,
  1344.         HIWindowGroupRef group,
  1345.         ItemCount requestedWindows,
  1346.         ItemCount* totalWindows,
  1347.         HIWindow** windows)
  1348. {
  1349. return ((somTD_HIWindow_GetWindowsInWindowGroup)HIWindowClassData.GetWindowsInWindowGroup)
  1350.     (ev,group,requestedWindows,totalWindows,windows);
  1351. }
  1352.  
  1353. /* noself procedure: GetWindowsInWindowGroupAndLayer */
  1354. static OSStatus   GetWindowsInWindowGroupAndLayer(Environment *ev,
  1355.         HIWindowGroupRef group,
  1356.         HILayerRef layer,
  1357.         ItemCount requestedWindows,
  1358.         ItemCount* totalWindows,
  1359.         HIWindow** windows)
  1360. {
  1361. return ((somTD_HIWindow_GetWindowsInWindowGroupAndLayer)HIWindowClassData.GetWindowsInWindowGroupAndLayer)
  1362.     (ev,group,layer,requestedWindows,totalWindows,windows);
  1363. }
  1364.  
  1365. /* noself procedure: GetWindowGroupsInWindowGroup */
  1366. static OSStatus   GetWindowGroupsInWindowGroup(Environment *ev,
  1367.         HIWindowGroupRef group,
  1368.         ItemCount requestedGroups,
  1369.         ItemCount* totalGroups,
  1370.         HIWindowGroupRef* groups)
  1371. {
  1372. return ((somTD_HIWindow_GetWindowGroupsInWindowGroup)HIWindowClassData.GetWindowGroupsInWindowGroup)
  1373.     (ev,group,requestedGroups,totalGroups,groups);
  1374. }
  1375.  
  1376. /* noself procedure: FrontWindowOfWindowGroup */
  1377. static HIWindow*   FrontWindowOfWindowGroup(Environment *ev,
  1378.         HIWindowGroupRef group)
  1379. {
  1380. return ((somTD_HIWindow_FrontWindowOfWindowGroup)HIWindowClassData.FrontWindowOfWindowGroup)
  1381.     (ev,group);
  1382. }
  1383.  
  1384. /* noself procedure: FrontNonFloatingWindow */
  1385. static HIWindow*   FrontNonFloatingWindow(Environment *ev)
  1386. {
  1387. return ((somTD_HIWindow_FrontNonFloatingWindow)HIWindowClassData.FrontNonFloatingWindow)
  1388.     ( ev);
  1389. }
  1390.  
  1391. /* noself procedure: ShowFloatingWindows */
  1392. static void   ShowFloatingWindows(Environment *ev)
  1393. {
  1394. ((somTD_HIWindow_ShowFloatingWindows)HIWindowClassData.ShowFloatingWindows)
  1395.     ( ev);
  1396. }
  1397.  
  1398. /* noself procedure: HideFloatingWindows */
  1399. static void   HideFloatingWindows(Environment *ev)
  1400. {
  1401. ((somTD_HIWindow_HideFloatingWindows)HIWindowClassData.HideFloatingWindows)
  1402.     ( ev);
  1403. }
  1404.  
  1405. /* noself procedure: AreFloatersVisible */
  1406. static boolean   AreFloatersVisible(Environment *ev)
  1407. {
  1408. return ((somTD_HIWindow_AreFloatersVisible)HIWindowClassData.AreFloatersVisible)
  1409.     ( ev);
  1410. }
  1411.  
  1412. /* noself procedure: ActivateFloatingWindows */
  1413. static void   ActivateFloatingWindows(Environment *ev)
  1414. {
  1415. ((somTD_HIWindow_ActivateFloatingWindows)HIWindowClassData.ActivateFloatingWindows)
  1416.     ( ev);
  1417. }
  1418.  
  1419. /* noself procedure: DeactivateFloatingWindows */
  1420. static void   DeactivateFloatingWindows(Environment *ev)
  1421. {
  1422. ((somTD_HIWindow_DeactivateFloatingWindows)HIWindowClassData.DeactivateFloatingWindows)
  1423.     ( ev);
  1424. }
  1425.  
  1426. /* noself procedure: EnableAutomaticPaletteActivation */
  1427. static void   EnableAutomaticPaletteActivation(Environment *ev)
  1428. {
  1429. ((somTD_HIWindow_EnableAutomaticPaletteActivation)HIWindowClassData.EnableAutomaticPaletteActivation)
  1430.     ( ev);
  1431. }
  1432.  
  1433. /* noself procedure: DisableAutomaticPaletteActivation */
  1434. static void   DisableAutomaticPaletteActivation(Environment *ev)
  1435. {
  1436. ((somTD_HIWindow_DisableAutomaticPaletteActivation)HIWindowClassData.DisableAutomaticPaletteActivation)
  1437.     ( ev);
  1438. }
  1439.  
  1440. /* noself procedure: IsAutomaticPaletteActivationEnabled */
  1441. static boolean   IsAutomaticPaletteActivationEnabled(Environment *ev)
  1442. {
  1443. return ((somTD_HIWindow_IsAutomaticPaletteActivationEnabled)HIWindowClassData.IsAutomaticPaletteActivationEnabled)
  1444.     ( ev);
  1445. }
  1446.  
  1447. /* noself procedure: GetHIWindow */
  1448. static HIWindow*   GetHIWindow(Environment *ev,
  1449.         WindowPtr targetWindow)
  1450. {
  1451. return ((somTD_HIWindow_GetHIWindow)HIWindowClassData.GetHIWindow)
  1452.     (ev,targetWindow);
  1453. }
  1454.  
  1455.  
  1456. /*
  1457.  * -- Inherited methods
  1458.  */
  1459. /* method: GetWindow */
  1460. HIWindow*   GetWindow(Environment *ev)
  1461. {
  1462.    return SOM_ResolveD(this,HIWindow,HIObject,GetWindow)
  1463.     (this,ev);
  1464. }
  1465.  
  1466. /* method: GetPort */
  1467. CGrafPtr   GetPort(Environment *ev)
  1468. {
  1469.    return SOM_ResolveD(this,HIWindow,HIObject,GetPort)
  1470.     (this,ev);
  1471. }
  1472.  
  1473. /* method: GetRefLabel */
  1474. void   GetRefLabel(Environment *ev,
  1475.         RefLabel* identifier)
  1476. {
  1477.    SOM_ResolveD(this,HIWindow,HIObject,GetRefLabel)
  1478.     (this,ev,identifier);
  1479. }
  1480.  
  1481. /* method: GetCollection */
  1482. Collection   GetCollection(Environment *ev)
  1483. {
  1484.    return SOM_ResolveD(this,HIWindow,HIObject,GetCollection)
  1485.     (this,ev);
  1486. }
  1487.  
  1488. /* method: Init */
  1489. OSStatus   Init(Environment *ev,
  1490.         RefLabel* identifier,
  1491.         Rect* boundingRect)
  1492. {
  1493.    return SOM_ResolveD(this,HIWindow,HIObject,Init)
  1494.     (this,ev,identifier,boundingRect);
  1495. }
  1496.  
  1497. /* method: Terminate */
  1498. void   Terminate(Environment *ev)
  1499. {
  1500.    SOM_ResolveD(this,HIWindow,HIObject,Terminate)
  1501.     (this,ev);
  1502. }
  1503.  
  1504. /* method: Clone */
  1505. HIObject*   Clone(Environment *ev)
  1506. {
  1507.    return SOM_ResolveD(this,HIWindow,HIObject,Clone)
  1508.     (this,ev);
  1509. }
  1510.  
  1511. /* method: Release */
  1512. void   Release(Environment *ev)
  1513. {
  1514.    SOM_ResolveD(this,HIWindow,HIObject,Release)
  1515.     (this,ev);
  1516. }
  1517.  
  1518. /* method: GetOwnerCount */
  1519. ItemCount   GetOwnerCount(Environment *ev)
  1520. {
  1521.    return SOM_ResolveD(this,HIWindow,HIObject,GetOwnerCount)
  1522.     (this,ev);
  1523. }
  1524.  
  1525. /* method: InitFromAERecord */
  1526. OSStatus   InitFromAERecord(Environment *ev,
  1527.         AESubDesc* baseInitializerData,
  1528.         AESubDesc* initializerDataForClass,
  1529.         HIAERecordDataFormat dataFormat)
  1530. {
  1531.    return SOM_ResolveD(this,HIWindow,HIObject,InitFromAERecord)
  1532.     (this,ev,baseInitializerData,initializerDataForClass,dataFormat);
  1533. }
  1534.  
  1535. /* method: WriteToAERecord */
  1536. OSStatus   WriteToAERecord(Environment *ev,
  1537.         AERecord* dataForSubclass,
  1538.         AERecord* objectData,
  1539.         HIAERecordDataFormat dataFormat)
  1540. {
  1541.    return SOM_ResolveD(this,HIWindow,HIObject,WriteToAERecord)
  1542.     (this,ev,dataForSubclass,objectData,dataFormat);
  1543. }
  1544.  
  1545. /* method: CalculateOptimalSize */
  1546. void   CalculateOptimalSize(Environment *ev,
  1547.         SInt16* optimalWidth,
  1548.         SInt16* optimalHeight)
  1549. {
  1550.    SOM_ResolveD(this,HIWindow,HIObject,CalculateOptimalSize)
  1551.     (this,ev,optimalWidth,optimalHeight);
  1552. }
  1553.  
  1554. /* method: GetBoundingRect */
  1555. void   GetBoundingRect(Environment *ev,
  1556.         HICoordinateSystem coordinate,
  1557.         Rect* boundingRect)
  1558. {
  1559.    SOM_ResolveD(this,HIWindow,HIObject,GetBoundingRect)
  1560.     (this,ev,coordinate,boundingRect);
  1561. }
  1562.  
  1563. /* method: SetBoundingRect */
  1564. void   SetBoundingRect(Environment *ev,
  1565.         HICoordinateSystem coordinate,
  1566.         Rect* newBoundingRect)
  1567. {
  1568.    SOM_ResolveD(this,HIWindow,HIObject,SetBoundingRect)
  1569.     (this,ev,coordinate,newBoundingRect);
  1570. }
  1571.  
  1572. /* method: SetPosition */
  1573. void   SetPosition(Environment *ev,
  1574.         HICoordinateSystem coordinate,
  1575.         Point* newPosition)
  1576. {
  1577.    SOM_ResolveD(this,HIWindow,HIObject,SetPosition)
  1578.     (this,ev,coordinate,newPosition);
  1579. }
  1580.  
  1581. /* method: SetSize */
  1582. void   SetSize(Environment *ev,
  1583.         SInt16 width,
  1584.         SInt16 height)
  1585. {
  1586.    SOM_ResolveD(this,HIWindow,HIObject,SetSize)
  1587.     (this,ev,width,height);
  1588. }
  1589.  
  1590. /* method: GetUpdateRect */
  1591. void   GetUpdateRect(Environment *ev,
  1592.         HICoordinateSystem coordinate,
  1593.         Rect* updateRect)
  1594. {
  1595.    SOM_ResolveD(this,HIWindow,HIObject,GetUpdateRect)
  1596.     (this,ev,coordinate,updateRect);
  1597. }
  1598.  
  1599. /* method: Enable */
  1600. void   Enable(Environment *ev)
  1601. {
  1602.    SOM_ResolveD(this,HIWindow,HIObject,Enable)
  1603.     (this,ev);
  1604. }
  1605.  
  1606. /* method: Disable */
  1607. void   Disable(Environment *ev)
  1608. {
  1609.    SOM_ResolveD(this,HIWindow,HIObject,Disable)
  1610.     (this,ev);
  1611. }
  1612.  
  1613. /* method: IsEnabled */
  1614. boolean   IsEnabled(Environment *ev)
  1615. {
  1616.    return SOM_ResolveD(this,HIWindow,HIObject,IsEnabled)
  1617.     (this,ev);
  1618. }
  1619.  
  1620. /* method: Show */
  1621. void   Show(Environment *ev)
  1622. {
  1623.    SOM_ResolveD(this,HIWindow,HIObject,Show)
  1624.     (this,ev);
  1625. }
  1626.  
  1627. /* method: Hide */
  1628. void   Hide(Environment *ev)
  1629. {
  1630.    SOM_ResolveD(this,HIWindow,HIObject,Hide)
  1631.     (this,ev);
  1632. }
  1633.  
  1634. /* method: IsVisible */
  1635. boolean   IsVisible(Environment *ev)
  1636. {
  1637.    return SOM_ResolveD(this,HIWindow,HIObject,IsVisible)
  1638.     (this,ev);
  1639. }
  1640.  
  1641. /* method: HandleAppleEvent */
  1642. OSStatus   HandleAppleEvent(Environment *ev,
  1643.         AEEventClass eventClass,
  1644.         AEEventID eventID,
  1645.         AppleEvent* theEvent,
  1646.         AppleEvent* reply,
  1647.         AEHandlerTableRef handlerTableRef)
  1648. {
  1649.    return SOM_ResolveD(this,HIWindow,HIObject,HandleAppleEvent)
  1650.     (this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
  1651. }
  1652.  
  1653. /* method: HandleActivate */
  1654. OSStatus   HandleActivate(Environment *ev,
  1655.         AppleEvent* theEvent,
  1656.         AppleEvent* reply,
  1657.         AEHandlerTableRef handlerTableRef)
  1658. {
  1659.    return SOM_ResolveD(this,HIWindow,HIObject,HandleActivate)
  1660.     (this,ev,theEvent,reply,handlerTableRef);
  1661. }
  1662.  
  1663. /* method: HandleDeactivate */
  1664. OSStatus   HandleDeactivate(Environment *ev,
  1665.         AppleEvent* theEvent,
  1666.         AppleEvent* reply,
  1667.         AEHandlerTableRef handlerTableRef)
  1668. {
  1669.    return SOM_ResolveD(this,HIWindow,HIObject,HandleDeactivate)
  1670.     (this,ev,theEvent,reply,handlerTableRef);
  1671. }
  1672.  
  1673. /* method: HandleNavigation */
  1674. OSStatus   HandleNavigation(Environment *ev,
  1675.         SInt8 key,
  1676.         SInt8 keyCode,
  1677.         EventModifiers modifiers,
  1678.         AppleEvent* theEvent,
  1679.         AppleEvent* reply,
  1680.         AEHandlerTableRef handlerTableRef)
  1681. {
  1682.    return SOM_ResolveD(this,HIWindow,HIObject,HandleNavigation)
  1683.     (this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
  1684. }
  1685.  
  1686. /* method: HandleMouseDownInContent */
  1687. OSStatus   HandleMouseDownInContent(Environment *ev,
  1688.         Point* portLocalWhere,
  1689.         EventModifiers modifiers,
  1690.         AppleEvent* theEvent,
  1691.         AppleEvent* reply,
  1692.         AEHandlerTableRef handlerTableRef)
  1693. {
  1694.    return SOM_ResolveD(this,HIWindow,HIObject,HandleMouseDownInContent)
  1695.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  1696. }
  1697.  
  1698. /* method: HandleMouseMovedInContent */
  1699. OSStatus   HandleMouseMovedInContent(Environment *ev,
  1700.         Point* portLocalWhere,
  1701.         EventModifiers modifiers,
  1702.         AppleEvent* theEvent,
  1703.         AppleEvent* reply,
  1704.         AEHandlerTableRef handlerTableRef)
  1705. {
  1706.    return SOM_ResolveD(this,HIWindow,HIObject,HandleMouseMovedInContent)
  1707.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  1708. }
  1709.  
  1710. /* method: HandleMouseStoppedMovingInContent */
  1711. OSStatus   HandleMouseStoppedMovingInContent(Environment *ev,
  1712.         Point* portLocalWhere,
  1713.         EventModifiers modifiers,
  1714.         AppleEvent* theEvent,
  1715.         AppleEvent* reply,
  1716.         AEHandlerTableRef handlerTableRef)
  1717. {
  1718.    return SOM_ResolveD(this,HIWindow,HIObject,HandleMouseStoppedMovingInContent)
  1719.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  1720. }
  1721.  
  1722. /* method: HandleMouseUpInContent */
  1723. OSStatus   HandleMouseUpInContent(Environment *ev,
  1724.         Point* portLocalWhere,
  1725.         EventModifiers modifiers,
  1726.         AppleEvent* theEvent,
  1727.         AppleEvent* reply,
  1728.         AEHandlerTableRef handlerTableRef)
  1729. {
  1730.    return SOM_ResolveD(this,HIWindow,HIObject,HandleMouseUpInContent)
  1731.     (this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
  1732. }
  1733.  
  1734. /* method: TakeUserInputFocus */
  1735. void   TakeUserInputFocus(Environment *ev)
  1736. {
  1737.    SOM_ResolveD(this,HIWindow,HIObject,TakeUserInputFocus)
  1738.     (this,ev);
  1739. }
  1740.  
  1741. /* method: ReleaseUserInputFocus */
  1742. void   ReleaseUserInputFocus(Environment *ev)
  1743. {
  1744.    SOM_ResolveD(this,HIWindow,HIObject,ReleaseUserInputFocus)
  1745.     (this,ev);
  1746. }
  1747.  
  1748. /* method: HasUserInputFocus */
  1749. boolean   HasUserInputFocus(Environment *ev)
  1750. {
  1751.    return SOM_ResolveD(this,HIWindow,HIObject,HasUserInputFocus)
  1752.     (this,ev);
  1753. }
  1754.  
  1755. /* method: CanReleaseUserInputFocus */
  1756. boolean   CanReleaseUserInputFocus(Environment *ev)
  1757. {
  1758.    return SOM_ResolveD(this,HIWindow,HIObject,CanReleaseUserInputFocus)
  1759.     (this,ev);
  1760. }
  1761.  
  1762. /* method: SetUserInputFocusFlags */
  1763. void   SetUserInputFocusFlags(Environment *ev,
  1764.         HIUserInputFocusFlags flags)
  1765. {
  1766.    SOM_ResolveD(this,HIWindow,HIObject,SetUserInputFocusFlags)
  1767.     (this,ev,flags);
  1768. }
  1769.  
  1770. /* method: GetUserInputFocusFlags */
  1771. HIUserInputFocusFlags   GetUserInputFocusFlags(Environment *ev)
  1772. {
  1773.    return SOM_ResolveD(this,HIWindow,HIObject,GetUserInputFocusFlags)
  1774.     (this,ev);
  1775. }
  1776.  
  1777. /* method: SetTitle */
  1778. OSStatus   SetTitle(Environment *ev,
  1779.         ConstHIImageRef title,
  1780.         HIAdoptionFlags disposalAdoptionFlags)
  1781. {
  1782.    return SOM_ResolveD(this,HIWindow,HIObject,SetTitle)
  1783.     (this,ev,title,disposalAdoptionFlags);
  1784. }
  1785.  
  1786. /* method: GetTitle */
  1787. OSStatus   GetTitle(Environment *ev,
  1788.         HIImageRef* title)
  1789. {
  1790.    return SOM_ResolveD(this,HIWindow,HIObject,GetTitle)
  1791.     (this,ev,title);
  1792. }
  1793.  
  1794. /* method: Draw */
  1795. void   Draw(Environment *ev,
  1796.         CGrafPtr whichPort,
  1797.         RgnHandle drawRgn)
  1798. {
  1799.    SOM_ResolveD(this,HIWindow,HIObject,Draw)
  1800.     (this,ev,whichPort,drawRgn);
  1801. }
  1802.  
  1803. /* method: Erase */
  1804. void   Erase(Environment *ev,
  1805.         CGrafPtr whichPort,
  1806.         RgnHandle eraseRgn)
  1807. {
  1808.    SOM_ResolveD(this,HIWindow,HIObject,Erase)
  1809.     (this,ev,whichPort,eraseRgn);
  1810. }
  1811.  
  1812. /* method: Invalidate */
  1813. void   Invalidate(Environment *ev)
  1814. {
  1815.    SOM_ResolveD(this,HIWindow,HIObject,Invalidate)
  1816.     (this,ev);
  1817. }
  1818.  
  1819. /* method: GetDrawingMode */
  1820. HIDrawingMode   GetDrawingMode(Environment *ev)
  1821. {
  1822.    return SOM_ResolveD(this,HIWindow,HIObject,GetDrawingMode)
  1823.     (this,ev);
  1824. }
  1825.  
  1826. /* method: SetDrawingMode */
  1827. void   SetDrawingMode(Environment *ev,
  1828.         HIDrawingMode drawingMode)
  1829. {
  1830.    SOM_ResolveD(this,HIWindow,HIObject,SetDrawingMode)
  1831.     (this,ev,drawingMode);
  1832. }
  1833.  
  1834. /* method: SetBackgroundPattern */
  1835. void   SetBackgroundPattern(Environment *ev,
  1836.         PixPatHandle backgroundPattern)
  1837. {
  1838.    SOM_ResolveD(this,HIWindow,HIObject,SetBackgroundPattern)
  1839.     (this,ev,backgroundPattern);
  1840. }
  1841.  
  1842. /* method: GetBackgroundPattern */
  1843. PixPatHandle   GetBackgroundPattern(Environment *ev)
  1844. {
  1845.    return SOM_ResolveD(this,HIWindow,HIObject,GetBackgroundPattern)
  1846.     (this,ev);
  1847. }
  1848.  
  1849. /* method: Cut */
  1850. void   Cut(Environment *ev)
  1851. {
  1852.    SOM_ResolveD(this,HIWindow,HIObject,Cut)
  1853.     (this,ev);
  1854. }
  1855.  
  1856. /* method: Copy */
  1857. void   Copy(Environment *ev)
  1858. {
  1859.    SOM_ResolveD(this,HIWindow,HIObject,Copy)
  1860.     (this,ev);
  1861. }
  1862.  
  1863. /* method: Paste */
  1864. void   Paste(Environment *ev)
  1865. {
  1866.    SOM_ResolveD(this,HIWindow,HIObject,Paste)
  1867.     (this,ev);
  1868. }
  1869.  
  1870. /* method: Clear */
  1871. void   Clear(Environment *ev)
  1872. {
  1873.    SOM_ResolveD(this,HIWindow,HIObject,Clear)
  1874.     (this,ev);
  1875. }
  1876.  
  1877. /* method: GetClipboardSupportFlags */
  1878. HIClipboardSupportFlags   GetClipboardSupportFlags(Environment *ev)
  1879. {
  1880.    return SOM_ResolveD(this,HIWindow,HIObject,GetClipboardSupportFlags)
  1881.     (this,ev);
  1882. }
  1883.  
  1884. /* method: AddStateChangeCallback */
  1885. OSStatus   AddStateChangeCallback(Environment *ev,
  1886.         HIStateChangeCallbackProcPtr changedStateCallback,
  1887.         HIStateChangeCallbackRef* newCallbackRef)
  1888. {
  1889.    return SOM_ResolveD(this,HIWindow,HIObject,AddStateChangeCallback)
  1890.     (this,ev,changedStateCallback,newCallbackRef);
  1891. }
  1892.  
  1893. /* method: RemoveStateChangeCallback */
  1894. OSStatus   RemoveStateChangeCallback(Environment *ev,
  1895.         HIStateChangeCallbackRef callbackRefToRemove)
  1896. {
  1897.    return SOM_ResolveD(this,HIWindow,HIObject,RemoveStateChangeCallback)
  1898.     (this,ev,callbackRefToRemove);
  1899. }
  1900.  
  1901. /* noself procedure: GetHIObjectFromRefLabel */
  1902. static OSStatus   GetHIObjectFromRefLabel(Environment *ev,
  1903.         RefLabel* identifier,
  1904.         ItemCount requestedObjects,
  1905.         ItemCount* totalObjects,
  1906.         HIObject** theObjects)
  1907. {
  1908. return ((somTD_HIWindow_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
  1909.     (ev,identifier,requestedObjects,totalObjects,theObjects);
  1910. }
  1911.  
  1912. /* noself procedure: GetNewHIObject */
  1913. static OSStatus   GetNewHIObject(Environment *ev,
  1914.         AESubDesc* objectInitializer,
  1915.         HIObject** newObject)
  1916. {
  1917. return ((somTD_HIWindow_GetNewHIObject)HIObjectClassData.GetNewHIObject)
  1918.     (ev,objectInitializer,newObject);
  1919. }
  1920.  
  1921. /* noself procedure: GetNewHIObjectFromResource */
  1922. static OSStatus   GetNewHIObjectFromResource(Environment *ev,
  1923.         ResID objectInitializerResourceID,
  1924.         HIObject** newObject)
  1925. {
  1926. return ((somTD_HIWindow_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
  1927.     (ev,objectInitializerResourceID,newObject);
  1928. }
  1929.  
  1930. /* method: DrawContent */
  1931. void   DrawContent(Environment *ev,
  1932.         CGrafPtr whichPort,
  1933.         RgnHandle drawRgn)
  1934. {
  1935.    SOM_ResolveD(this,HIWindow,HIObject,DrawContent)
  1936.     (this,ev,whichPort,drawRgn);
  1937. }
  1938.  
  1939. /* method: EraseContent */
  1940. void   EraseContent(Environment *ev,
  1941.         CGrafPtr whichPort,
  1942.         RgnHandle regionToErase)
  1943. {
  1944.    SOM_ResolveD(this,HIWindow,HIObject,EraseContent)
  1945.     (this,ev,whichPort,regionToErase);
  1946. }
  1947.  
  1948. /* method: TranslatePoint */
  1949. void   TranslatePoint(Environment *ev,
  1950.         HICoordinateSystem translateFrom,
  1951.         HICoordinateSystem translateTo,
  1952.         Point* sourcePoint,
  1953.         Point* translatedPoint)
  1954. {
  1955.    SOM_ResolveD(this,HIWindow,HIObject,TranslatePoint)
  1956.     (this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
  1957. }
  1958.  
  1959. /* method: TranslateRect */
  1960. void   TranslateRect(Environment *ev,
  1961.         HICoordinateSystem translateFrom,
  1962.         HICoordinateSystem translateTo,
  1963.         Rect* sourceRect,
  1964.         Rect* translatedRect)
  1965. {
  1966.    SOM_ResolveD(this,HIWindow,HIObject,TranslateRect)
  1967.     (this,ev,translateFrom,translateTo,sourceRect,translatedRect);
  1968. }
  1969.  
  1970. /* method: StateChanged */
  1971. void   StateChanged(Environment *ev,
  1972.         HIStateChangeCodeCreator selectorCreator,
  1973.         HIStateChangeCode changedCode)
  1974. {
  1975.    SOM_ResolveD(this,HIWindow,HIObject,StateChanged)
  1976.     (this,ev,selectorCreator,changedCode);
  1977. }
  1978.  
  1979. /* method: SetClipboardSupportFlags */
  1980. void   SetClipboardSupportFlags(Environment *ev,
  1981.         HIClipboardSupportFlags flags)
  1982. {
  1983.    SOM_ResolveD(this,HIWindow,HIObject,SetClipboardSupportFlags)
  1984.     (this,ev,flags);
  1985. }
  1986.  
  1987. /* method: Verify */
  1988. OSStatus   Verify(Environment *ev)
  1989. {
  1990.    return SOM_ResolveD(this,HIWindow,HIObject,Verify)
  1991.     (this,ev);
  1992. }
  1993.  
  1994. /* method: somInit */
  1995. void   somInit()
  1996. {
  1997.    SOM_ResolveD(this,HIWindow,SOMObject,somInit)
  1998.     (this);
  1999. }
  2000.  
  2001. /* method: somUninit */
  2002. void   somUninit()
  2003. {
  2004.    SOM_ResolveD(this,HIWindow,SOMObject,somUninit)
  2005.     (this);
  2006. }
  2007.  
  2008. /* method: somDuplicateReference */
  2009. SOMObject*   somDuplicateReference()
  2010. {
  2011.    return SOM_ResolveD(this,HIWindow,SOMObject,somDuplicateReference)
  2012.     (this);
  2013. }
  2014.  
  2015. /* method: somCompareReference */
  2016. boolean   somCompareReference(SOMObject* anObject)
  2017. {
  2018.    return SOM_ResolveD(this,HIWindow,SOMObject,somCompareReference)
  2019.     (this,anObject);
  2020. }
  2021.  
  2022. /* method: somRelease */
  2023. SOMObject*   somRelease()
  2024. {
  2025.    return SOM_ResolveD(this,HIWindow,SOMObject,somRelease)
  2026.     (this);
  2027. }
  2028.  
  2029. /* method: somFree */
  2030. void   somFree()
  2031. {
  2032.    SOM_ResolveD(this,HIWindow,SOMObject,somFree)
  2033.     (this);
  2034. }
  2035.  
  2036. /* method: somCanDelete */
  2037. boolean   somCanDelete()
  2038. {
  2039.    return SOM_ResolveD(this,HIWindow,SOMObject,somCanDelete)
  2040.     (this);
  2041. }
  2042.  
  2043. /* method: somGetClass */
  2044. SOMClass*   somGetClass()
  2045. {
  2046.    return SOM_ResolveD(this,HIWindow,SOMObject,somGetClass)
  2047.     (this);
  2048. }
  2049.  
  2050. /* method: somGetClassName */
  2051. corbastring   somGetClassName()
  2052. {
  2053.    return SOM_ResolveD(this,HIWindow,SOMObject,somGetClassName)
  2054.     (this);
  2055. }
  2056.  
  2057. /* method: somGetSize */
  2058. long   somGetSize()
  2059. {
  2060.    return SOM_ResolveD(this,HIWindow,SOMObject,somGetSize)
  2061.     (this);
  2062. }
  2063.  
  2064. /* method: somIsA */
  2065. boolean   somIsA(SOMClass* aClassObj)
  2066. {
  2067.    return SOM_ResolveD(this,HIWindow,SOMObject,somIsA)
  2068.     (this,aClassObj);
  2069. }
  2070.  
  2071. /* method: somRespondsTo */
  2072. boolean   somRespondsTo(somId mId)
  2073. {
  2074.    return SOM_ResolveD(this,HIWindow,SOMObject,somRespondsTo)
  2075.     (this,mId);
  2076. }
  2077.  
  2078. /* method: somIsInstanceOf */
  2079. boolean   somIsInstanceOf(SOMClass* aClassObj)
  2080. {
  2081.    return SOM_ResolveD(this,HIWindow,SOMObject,somIsInstanceOf)
  2082.     (this,aClassObj);
  2083. }
  2084.  
  2085. /* va_list method: somDispatch */
  2086. /* the va_list invocation form */
  2087. boolean   HIWindow_somDispatch(somToken* retValue,
  2088.         somId methodId,
  2089.         va_list ap)
  2090. {
  2091.    return SOM_ResolveD(this,HIWindow,SOMObject,somDispatch)
  2092.     (this,retValue,methodId,ap);
  2093. }
  2094.  
  2095. /* the varargs invocation form */
  2096. boolean   somDispatch(somToken* retValue,
  2097.         somId methodId,
  2098.         ...)
  2099. {
  2100.    va_list ap;
  2101.    va_start(ap, methodId);
  2102.       boolean __somResult = 
  2103.       (boolean) SOM_ResolveD(this,HIWindow,SOMObject,somDispatch)
  2104.     (this,retValue,methodId,ap);
  2105.    va_end(ap);
  2106.    return __somResult;
  2107. }
  2108.  
  2109. /* va_list method: somClassDispatch */
  2110. /* the va_list invocation form */
  2111. boolean   HIWindow_somClassDispatch(SOMClass* clsObj,
  2112.         somToken* retValue,
  2113.         somId methodId,
  2114.         va_list ap)
  2115. {
  2116.    return SOM_ResolveD(this,HIWindow,SOMObject,somClassDispatch)
  2117.     (this,clsObj,retValue,methodId,ap);
  2118. }
  2119.  
  2120. /* the varargs invocation form */
  2121. boolean   somClassDispatch(SOMClass* clsObj,
  2122.         somToken* retValue,
  2123.         somId methodId,
  2124.         ...)
  2125. {
  2126.    va_list ap;
  2127.    va_start(ap, methodId);
  2128.       boolean __somResult = 
  2129.       (boolean) SOM_ResolveD(this,HIWindow,SOMObject,somClassDispatch)
  2130.     (this,clsObj,retValue,methodId,ap);
  2131.    va_end(ap);
  2132.    return __somResult;
  2133. }
  2134.  
  2135. /* method: somCastObj */
  2136. boolean   somCastObj(SOMClass* cls)
  2137. {
  2138.    return SOM_ResolveD(this,HIWindow,SOMObject,somCastObj)
  2139.     (this,cls);
  2140. }
  2141.  
  2142. /* method: somResetObj */
  2143. boolean   somResetObj()
  2144. {
  2145.    return SOM_ResolveD(this,HIWindow,SOMObject,somResetObj)
  2146.     (this);
  2147. }
  2148.  
  2149. /* method: somPrintSelf */
  2150. SOMObject*   somPrintSelf()
  2151. {
  2152.    return SOM_ResolveD(this,HIWindow,SOMObject,somPrintSelf)
  2153.     (this);
  2154. }
  2155.  
  2156. /* method: somDumpSelf */
  2157. void   somDumpSelf(long level)
  2158. {
  2159.    SOM_ResolveD(this,HIWindow,SOMObject,somDumpSelf)
  2160.     (this,level);
  2161. }
  2162.  
  2163. /* method: somDumpSelfInt */
  2164. void   somDumpSelfInt(long level)
  2165. {
  2166.    SOM_ResolveD(this,HIWindow,SOMObject,somDumpSelfInt)
  2167.     (this,level);
  2168. }
  2169.  
  2170. };   /* HIWindow */
  2171.  
  2172.  
  2173.  
  2174. #endif       /* SOM_HIWindow_xh */
  2175.